diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-08-05 18:59:40 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-09 15:52:05 -0400 |
commit | b037b693265e5c83ddc3f003a713d19b9832bf24 (patch) | |
tree | cb2874b10fb0d8fe1d8c797e4c99e5dfb28859a8 /drivers/net/wireless/ath/ath9k/ar9003_phy.c | |
parent | 8d7763b4332b80028522f8a0d47e6339a13d1fdc (diff) | |
download | blackbird-op-linux-b037b693265e5c83ddc3f003a713d19b9832bf24.tar.gz blackbird-op-linux-b037b693265e5c83ddc3f003a713d19b9832bf24.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_phy.c')
0 files changed, 0 insertions, 0 deletions