commit | 6c4f199411f254bf3713b04ed8653f0955883309 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Tue Nov 09 11:54:19 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 12 14:05:43 2010 -0800 |
tree | 64c4ea35c4faed4709e8e2c8c4f119e31715c129 | |
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>