From: Avinash Patil Date: Sat, 18 May 2013 00:50:24 +0000 (-0700) Subject: mwifiex: replace spin_lock_irqsave with spin_lock and fix warn_on X-Git-Tag: v3.11-rc1~16^2~103^2^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=013a492ecf2e6e1dd424d589fb27170e2481733f;p=pandora-kernel.git mwifiex: replace spin_lock_irqsave with spin_lock and fix warn_on We see this WARN_ON during PCIe unload: WARNING: at kernel/smp.c:382 smp_call_function_many+0x66/0x1e1() This happens because we are doing PCI iounmap operations while holding spinlock via spin_lock_irqsave(). Holding spinlock this way causes disabling IRQs and hence PCI iounmap shows warning on irqs_disabled() check. Use non-irq variant of spin_lock i.e. spin_lock() instead. Signed-off-by: Avinash Patil Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed