[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1576765022-10928-1-git-send-email-madalin.bucur@oss.nxp.com>
Date: Thu, 19 Dec 2019 16:17:02 +0200
From: Madalin Bucur <madalin.bucur@....nxp.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: Madalin Bucur <madalin.bucur@....nxp.com>
Subject: [PATCH net] net: phy: aquantia: add suspend / resume ops for AQR105
The suspend/resume code for AQR107 works on AQR105 too.
This patch fixes issues with the partner not seeing the link down
when the interface using AQR105 is brought down.
Signed-off-by: Madalin Bucur <madalin.bucur@....nxp.com>
---
drivers/net/phy/aquantia_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c
index 3b29d381116f..975789d9349d 100644
--- a/drivers/net/phy/aquantia_main.c
+++ b/drivers/net/phy/aquantia_main.c
@@ -627,6 +627,8 @@ static struct phy_driver aqr_driver[] = {
.config_intr = aqr_config_intr,
.ack_interrupt = aqr_ack_interrupt,
.read_status = aqr_read_status,
+ .suspend = aqr107_suspend,
+ .resume = aqr107_resume,
},
{
PHY_ID_MATCH_MODEL(PHY_ID_AQR106),
--
2.1.0
Powered by blists - more mailing lists