https://github.com/torvalds/linux
Revision 6cc69f2a404dea8641d6cf97c0fbe8d24579e259 authored by hayeswang on 17 October 2014, 08:55:08 UTC, committed by David S. Miller on 18 October 2014, 03:46:35 UTC
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>
1 parent d8f00d2
History
Tip revision: 6cc69f2a404dea8641d6cf97c0fbe8d24579e259 authored by hayeswang on 17 October 2014, 08:55:08 UTC
r8152: return -EBUSY for runtime suspend
Tip revision: 6cc69f2
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 281.7 KB
Makefile -rw-r--r-- 53.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top