diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-11-09 11:54:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-12 14:05:43 -0800 |
commit | 6c4f199411f254bf3713b04ed8653f0955883309 (patch) | |
tree | 64c4ea35c4faed4709e8e2c8c4f119e31715c129 /drivers/net/3c501.h | |
parent | 403856532734317d25ec86ab1e75b8133db7acc6 (diff) |
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 'drivers/net/3c501.h')
0 files changed, 0 insertions, 0 deletions