aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-10-17 16:55:08 +0800
committerDavid S. Miller <davem@davemloft.net>2014-10-17 23:46:35 -0400
commit6cc69f2a404dea8641d6cf97c0fbe8d24579e259 (patch)
tree8f02af17a0087a6a936c751a06ca3773416d46f9 /drivers/net/ethernet/sfc/tx.c
parentipv4: fix a potential use after free in fou.c (diff)
downloadlinux-dev-6cc69f2a404dea8641d6cf97c0fbe8d24579e259.tar.xz
linux-dev-6cc69f2a404dea8641d6cf97c0fbe8d24579e259.zip
r8152: return -EBUSY for runtime suspend
Remove calling cancel_delayed_work_sync() for runtime suspend, because it would cause dead lock. Instead, return -EBUSY to avoid the device enters suspending if the net is running and the delayed work is pending or running. The delayed work would try to wake up the device later, so the suspending is not necessary. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions