From: Ivo van Doorn Date: Tue, 25 Mar 2008 13:13:18 +0000 (+0100) Subject: rt2x00: Fix in_atomic() usage X-Git-Tag: v2.6.26-rc1~1138^2~350^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a643d244f09fa1fdd25d48a56a073c1a69583ee;p=pandora-kernel.git rt2x00: Fix in_atomic() usage rt73usb and rt2500usb used in_atomic to determine if a configuration step should be rescheduled or not. Since in_atomic() is not a valid method to determine if sleeping is allowed we should fix the way this is handled by adding a new flag to rt2x00. In addition mark LED class support for the drivers broken since that also uses the broken in_atomic() method but so far no solution exists to have LED triggers work only in scheduled context. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed