phy: micrel: Ensure interrupts are reenabled on resume
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 26 Feb 2016 18:18:22 +0000 (19:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:52:08 +0000 (16:52 -0500)
commitf5aba91d7f186cba84af966a741a0346de603cd4
tree27c26a916bd6a363b9660a724a4e8a4bd88227ad
parentedffc2178d4ba10a61e150b42ef5e7d797714eb3
phy: micrel: Ensure interrupts are reenabled on resume

At least on ksz8081, when getting back from power down, interrupts are
disabled. ensure they are reenabled if they were previously enabled.

This fixes resuming which is failing on the xplained boards from atmel
since 321beec5047a (net: phy: Use interrupts when available in NOLINK
state)

Fixes: 321beec5047a (net: phy: Use interrupts when available in NOLINK state)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c