https://github.com/torvalds/linux
Revision 6c4f199411f254bf3713b04ed8653f0955883309 authored by Rafael J. Wysocki on 09 November 2010, 11:54:19 UTC, committed by David S. Miller on 12 November 2010, 22:05:43 UTC
The gianfar driver calls device_set_wakeup_enable() under a spinlock,
which causes a problem to happen after the recent core power
management changes, because this function can sleep now.  Fix this
by moving the device_set_wakeup_enable() call out of the
spinlock-protected area.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4038565
History
Tip revision: 6c4f199411f254bf3713b04ed8653f0955883309 authored by Rafael J. Wysocki on 09 November 2010, 11:54:19 UTC
gianfar: Do not call device_set_wakeup_enable() under a spinlock
Tip revision: 6c4f199
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-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.5 KB
MAINTAINERS -rw-r--r-- 178.2 KB
Makefile -rw-r--r-- 51.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top