This reverts commit
bd01c4c5cb98abf93a4ba39144c9f130153f96f5.
The original patch was a misguided attempt to improve performance on
some hardware that is apparently prone to spurious interrupt generation.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
rt2x00pci_register_read(rt2x00dev, INT_SOURCE_CSR, ®);
rt2x00pci_register_write(rt2x00dev, INT_SOURCE_CSR, reg);
- /*
- * Some devices can generate interrupts with empty CSR register, we
- * "handle" such irq's to prevent interrupt controller treat them as
- * spurious interrupts and disable irq line.
- */
if (!reg)
- return IRQ_HANDLED;
+ return IRQ_NONE;
if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
return IRQ_HANDLED;