]> 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)
commit84b2825899d3dbc873ce18eecaedb2745f529bf9
tree8d987704d0061e77f59c668ebde4169f235163b8
parent3ba128e2ea23c511be460df617617ce48f388329
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