]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "rt2x00: handle spurious pci interrupts"
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Nov 2011 21:36:35 +0000 (16:36 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Nov 2011 21:36:35 +0000 (16:36 -0500)
This reverts commit ee03c56c897e970ab6e1d9f7a41b25dd907918cf.

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>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt61pci.c

index 676c7657f5f55cf053766038314495b8981e8a55..3a6b40239bc1473a219921f11b0f5e50a72c7bf7 100644 (file)
@@ -1380,7 +1380,7 @@ static irqreturn_t rt2400pci_interrupt(int irq, void *dev_instance)
        rt2x00pci_register_write(rt2x00dev, CSR7, reg);
 
        if (!reg)
-               return IRQ_HANDLED;
+               return IRQ_NONE;
 
        if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
                return IRQ_HANDLED;
index d0b627c6c21742b1c1ed44f5cb9c6aa37ef36a24..dcc0e1fcca77726e002ed490dc41aa640655830b 100644 (file)
@@ -1512,7 +1512,7 @@ static irqreturn_t rt2500pci_interrupt(int irq, void *dev_instance)
        rt2x00pci_register_write(rt2x00dev, CSR7, reg);
 
        if (!reg)
-               return IRQ_HANDLED;
+               return IRQ_NONE;
 
        if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
                return IRQ_HANDLED;
index 9d83e70f3e620c5196131a82daa5ff4aeccaaaa2..bf55b4a311e3708e95cb7872c30486e7e6ad5d65 100644 (file)
@@ -2337,7 +2337,7 @@ static irqreturn_t rt61pci_interrupt(int irq, void *dev_instance)
        rt2x00pci_register_write(rt2x00dev, INT_SOURCE_CSR, reg);
 
        if (!reg && !reg_mcu)
-               return IRQ_HANDLED;
+               return IRQ_NONE;
 
        if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
                return IRQ_HANDLED;