]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8bc0d332c7fa7a8cd80885550e853d360214ba2
tree1ae9fcb6af3253d3724c163f3b67c848009bff83
parent3ceaeba83574ffc94054191b41e15a781a8fd5ff
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: 4e3e60154f0c ("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