OSDN Git Service

net: phy: micrel: Add specific suspend
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 5 Aug 2016 06:35:41 +0000 (14:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Aug 2016 23:19:15 +0000 (16:19 -0700)
commit836384d2501dee87b1c437f3e268871980c857bf
tree974f8faa03331e5101f985c0270c11a116b5b0da
parenta96d3b7593a3eefab62dd930e5c99201c3678ee4
net: phy: micrel: Add specific suspend

Disable all interrupts when suspend, they will be enabled
when resume. Otherwise, the suspend/resume process will be
blocked occasionally.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c