drivers: net: cpsw: dual_emac: in suspend/resume bring down/up all the netdev
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 11 Sep 2014 17:22:38 +0000 (22:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 17:00:05 +0000 (13:00 -0400)
commit618073e30c225ddaef086c030a5f0a3c7ef2d323
tree0a674ba37d9307984a7bc3045a7456e3a82cc298
parent0bc9b73be43b21838973e80ddeb5250f0310ebf7
drivers: net: cpsw: dual_emac: in suspend/resume bring down/up all the netdev

During suspend and resume in Dual EMAC, second port is not working as in
suspend/resume only the first slave netdev is closed and opened. So bring
down and up all the interfaces that are up during suspend/resume.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c