r8152: support runtime suspend
authorhayeswang <hayeswang@realtek.com>
Tue, 18 Feb 2014 13:49:07 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:40:02 +0000 (16:40 -0500)
commit9a4be1bd04d6df0cb1a1a0fe49430b27152bb98f
tree39405f3d31abdadb948a5811e783bc85ad545682
parent21ff2e8976b1be23eb0125ee83eb807ad40fb226
r8152: support runtime suspend

Support runtime suspend for RTL8152 and RTL8153.

Move tx_bottom() from tasklet to delayed_work. That avoids to
transmit tx packets after calling autosuspend.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c