Search Linux Wireless

Re: [PATCH] rt2800pci: handle spurious interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 16, 2011 at 11:46 AM, Helmut Schaa
<helmut.schaa@xxxxxxxxxxxxxx> wrote:
> On Wed, Nov 16, 2011 at 11:09 AM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote:
>> +       /*
>> +        * 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_NONE;
>> +               return IRQ_HANDLED;
>
> What if this interrupt belongs to a different device on a shared interrupt line?
> In case reg is zero we can't be sure our device generated this interrupt, right?

In the bugzilla report  Stanislaw indicated that even when rt2800pci
indicates IRQ_HANDLED,
all other drivers on the same interruptline will still get the interrupt event.

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux