Commit 1c93fb45 authored by Madalin Bucur's avatar Madalin Bucur Committed by David S. Miller

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.

Fixes: bee8259d ("net: phy: add driver for aquantia phy")
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c27569fc
...@@ -627,6 +627,8 @@ static struct phy_driver aqr_driver[] = { ...@@ -627,6 +627,8 @@ static struct phy_driver aqr_driver[] = {
.config_intr = aqr_config_intr, .config_intr = aqr_config_intr,
.ack_interrupt = aqr_ack_interrupt, .ack_interrupt = aqr_ack_interrupt,
.read_status = aqr_read_status, .read_status = aqr_read_status,
.suspend = aqr107_suspend,
.resume = aqr107_resume,
}, },
{ {
PHY_ID_MATCH_MODEL(PHY_ID_AQR106), PHY_ID_MATCH_MODEL(PHY_ID_AQR106),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment