net: phy: aquantia: add suspend / resume ops for AQR105
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Mon, 23 Dec 2019 08:06:10 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 18:18:45 +0000 (19:18 +0100)
commitfbeec8f00b01644d094bf883b963fb6790b02666
treeb70acf2c17cd2691fc91139f8a65c39d0af49361
parent6c75efb9e5b6a8c06105a011562939acaeeea48b
net: phy: aquantia: add suspend / resume ops for AQR105

[ Upstream commit 1c93fb45761e79b3c00080e71523886cefaf351c ]

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: bee8259dd31f ("net: phy: add driver for aquantia phy")
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/aquantia_main.c