summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-dbg.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-11-12 10:05:05 +0800
committerDavid S. Miller <davem@davemloft.net>2014-11-12 14:49:08 -0500
commita1f83feecc9e754eac5286844e7d7dcc58a0aceb (patch)
tree0ce6d6b85118b8a9c602560099d12437c50dff19 /drivers/usb/host/xhci-dbg.c
parent9451a11c1821c559ddfffc55b4c6ef350205fdbf (diff)
r8152: check RTL8152_UNPLUG and netif_running before autoresume
If the device is unplugged or !netif_running(), the workqueue doesn't need to wake the device, and could return directly. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/host/xhci-dbg.c')
0 files changed, 0 insertions, 0 deletions