]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3ca97d2774cfca922279d3b3848cdb1db8c0dca
tree39405f3d31abdadb948a5811e783bc85ad545682
parentce7462fae403410553e0eb6756f25ce107fb3cce
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