commit | be9dad1f9f26604fb71c0d53ccb39a8f1d425807 | [log] [tgz] |
---|---|---|
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | Fri Dec 13 10:20:29 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 17 14:42:44 2013 -0500 |
tree | ed294b23c4e02b34473e3c56f6c0d2599d8f2a1d | |
parent | 1211ce53077164e0d34641d0ca5fb4d4a7574498 [diff] |
net: phy: suspend phydev when going to HALTED When phydev is going to HALTED state, we can try to suspend it to safe more power. phy_suspend helper will check if PHY can be suspended, so just call it when entering HALTED state. 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>