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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Nov 2017 17:49:05 +0000 (02:49 +0900)
commit4b52d010113e11006a389f2a8315167ede9e0b10
tree1ae9fcb6af3253d3724c163f3b67c848009bff83
parente4be7baba81a816bdf778804508b43fa92c6446d
net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY

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>
drivers/net/dsa/bcm_sf2.c