From: Rafael J. Wysocki Date: Tue, 9 Nov 2010 11:54:19 +0000 (+0000) Subject: gianfar: Do not call device_set_wakeup_enable() under a spinlock X-Git-Tag: v2.6.37-rc2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c4f199411f254bf3713b04ed8653f0955883309;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed