diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-02-22 01:38:36 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 15:03:03 -0500 |
commit | 4aa05917051b01da037a80c3207b48aee252eed2 (patch) | |
tree | de87af533454fd487e68008e71ab521f9db81d20 /drivers | |
parent | 295cc0bff60bee988028dc431fa1f1a353fd18a7 (diff) |
wl1271: Don't mask interrupts while handling interrupt
Don't mask firmware interrupts while processing interrupts. This allows the
interrupt handler looping to work efficiently thus reducing interrupt
processing latency.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 4d091ebd3403..a46d323f8a6e 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -424,8 +424,6 @@ static void wl1271_irq_work(struct work_struct *work) | |||
424 | if (ret < 0) | 424 | if (ret < 0) |
425 | goto out; | 425 | goto out; |
426 | 426 | ||
427 | wl1271_write32(wl, ACX_REG_INTERRUPT_MASK, WL1271_ACX_INTR_ALL); | ||
428 | |||
429 | wl1271_fw_status(wl, wl->fw_status); | 427 | wl1271_fw_status(wl, wl->fw_status); |
430 | intr = le32_to_cpu(wl->fw_status->intr); | 428 | intr = le32_to_cpu(wl->fw_status->intr); |
431 | if (!intr) { | 429 | if (!intr) { |
@@ -464,8 +462,6 @@ static void wl1271_irq_work(struct work_struct *work) | |||
464 | } | 462 | } |
465 | 463 | ||
466 | out_sleep: | 464 | out_sleep: |
467 | wl1271_write32(wl, ACX_REG_INTERRUPT_MASK, | ||
468 | WL1271_ACX_INTR_ALL & ~(WL1271_INTR_MASK)); | ||
469 | wl1271_ps_elp_sleep(wl); | 465 | wl1271_ps_elp_sleep(wl); |
470 | 466 | ||
471 | out: | 467 | out: |