net: phy: resume/suspend PHYs on attach/detach
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fri, 13 Dec 2013 09:20:28 +0000 (10:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 19:42:44 +0000 (14:42 -0500)
commit1211ce53077164e0d34641d0ca5fb4d4a7574498
tree0f6f5ff07a99487429ab320a9e21d2743bd9c2b7
parent481b5d938b4a60f052d7e15965a8417125e0d39f
net: phy: resume/suspend PHYs on attach/detach

This ensures PHYs are resumed on attach and suspended on detach.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c