From: Juuso Oikarinen Date: Thu, 30 Sep 2010 08:43:28 +0000 (+0200) Subject: wl1271: Move work-init calls to hw allocation X-Git-Tag: v2.6.37-rc1~147^2~191^2^2~34^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=117b38d0b9d3efb0adc3e636e73fc67bb53a13d1;p=pandora-kernel.git wl1271: Move work-init calls to hw allocation Due to legacy reason, dating back to when the wl1251 and wl1271 still were a unified driver, some work-structures are initialized on hardware startup. The hardware recovery code creates a scenario in which it is possible for a workstruct to be re-initialized while the work-function itself is running, which causes a kernel WARNing and a subsequent reboot. To remedy this, move the work initialization calls to the hw allocation, which is the logically correct place for them anyway. Signed-off-by: Juuso Oikarinen Tested-by: Tuomas Katila Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed