net: phy: broadcom: Utilize appropriate suspend for BCM54810/11
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 20 Sep 2021 21:54:16 +0000 (14:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2021 09:58:35 +0000 (10:58 +0100)
commit72e78d22e152991dd7768dad92c00c56d3ccf757
tree6d5aec3aa96aca2272537ba7389190031a69da9b
parent38b6a90730071f2acf0df240cc01609724ec5bef
net: phy: broadcom: Utilize appropriate suspend for BCM54810/11

Since we enable APD and DLL/RXC/TXC disable we need to use
bcm54xx_suspend() in order not to do a read/modify/write of the BMCR
register which is incompatible with the desired settings.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c