diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-07-07 20:48:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-09 08:37:32 +0200 |
commit | 4eed4d8ff984abcb983ada5b3dbf56fce35f1068 (patch) | |
tree | 98a1e4d6d28ae006ef1aba596b25ddc54a0eeaec /drivers/net/usb/cdc_ether.c | |
parent | vmxnet3: prevent receive getting out of sequence on napi poll (diff) | |
download | linux-4eed4d8ff984abcb983ada5b3dbf56fce35f1068.tar.xz linux-4eed4d8ff984abcb983ada5b3dbf56fce35f1068.zip |
3c59x: Fix shared IRQ handling
As its first order of business, boomerang_interrupt() checks whether
the device really has any pending interrupts. If it does not,
it does nothing and returns, but it still returns IRQ_HANDLED.
This is wrong: interrupt was not handled, IRQ handlers of other
devices sharing this IRQ line need to be called.
vortex_interrupt() has it right: it returns IRQ_NONE in this case
via IRQ_RETVAL(0).
Do the same in boomerang_interrupt().
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: David S. Miller <davem@davemloft.net>
CC: linux-kernel@vger.kernel.org
CC: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
0 files changed, 0 insertions, 0 deletions