net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 22 Nov 2017 01:37:46 +0000 (17:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jan 2018 19:31:10 +0000 (20:31 +0100)
commitff1ff3815c2483ac19bd6f926a535dd4cea27e2e
tree5dc6b24c7bb463d6272ebf9434656627c85896ae
parent701768dc9a1030d3f02b9b3e9b4690d15f637dad
net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY

[ Upstream commit 4b52d010113e11006a389f2a8315167ede9e0b10 ]

The PHY on BCM7278 has an additional bit that needs to be cleared:
IDDQ_GLOBAL_PWR, without doing this, the PHY remains stuck in reset out
of suspend/resume cycles.

Fixes: 0fe9933804eb ("net: dsa: bcm_sf2: Add support for BCM7278 integrated switch")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/bcm_sf2.c