]> git.baikalelectronics.ru Git - kernel.git/commit
net: cpsw: halt network stack before halting the device during suspend
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 14 Nov 2012 09:07:57 +0000 (09:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 03:09:06 +0000 (22:09 -0500)
commit3cffdedca9e6a67315e3b57c24b8c92d2dbd40ca
tree73fb5daa9c6a1e86a342d5e365c24e2bb71cd210
parent298385d5f1a78ffcbb266f34390c360a6d9bed70
net: cpsw: halt network stack before halting the device during suspend

Move network stack halt APIs before halting the hardware to ensure no
packets are queued to hardware during closing the device during
suspend sequence.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c