diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-11-09 12:54:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-12 23:05:43 +0100 |
commit | 6c4f199411f254bf3713b04ed8653f0955883309 (patch) | |
tree | 64c4ea35c4faed4709e8e2c8c4f119e31715c129 /net | |
parent | ipv6: Warn users if maximum number of routes is reached. (diff) | |
download | linux-6c4f199411f254bf3713b04ed8653f0955883309.tar.xz linux-6c4f199411f254bf3713b04ed8653f0955883309.zip |
gianfar: Do not call device_set_wakeup_enable() under a spinlock
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions