]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Replace spin_lock_irqsave with spin_lock_bh
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 30 Sep 2011 13:48:43 +0000 (19:18 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:50:54 +0000 (12:50 +0200)
commit113f0017ddf9beffc4e05440bb6501b13fafd226
tree8d987704d0061e77f59c668ebde4169f235163b8
parent806c39f26be56b597b3db7880911b2693ed19199
ath6kl: Replace spin_lock_irqsave with spin_lock_bh

It is not necessary to use spinlock primitive to
protect data which is accessed in hard irq context as
nothing is running in hard irq with this driver. The
spinlock primitive meant to protect data in softirq
context is more appropriate.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/sdio.c