]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: do not enable interrupt on set interrupt mask
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 5 Aug 2011 13:29:40 +0000 (18:59 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Aug 2011 19:52:05 +0000 (15:52 -0400)
commit9823382a961f55cac243a35d99ab3709c1764f78
treecb2874b10fb0d8fe1d8c797e4c99e5dfb28859a8
parent96a42f68d8637f3dbbdcc71af3dd3822a8800b9d
ath9k: do not enable interrupt on set interrupt mask

At preset set_interrupt also enables interrupt after changing
mask. This is not necessary in all cases and also sometime it
breaks the assumption that interrupt was disabled. So let us
enable the interrupt explicity if it was disabled earlier.
This could also avoid unnecessary register ops and also helps
the follow up patch to have global ref count for interrupts ops.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/main.c