diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-12-06 13:28:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-07 20:56:37 +0100 |
commit | 51302f77bedab8768b761ed1899c08f89af9e4e2 (patch) | |
tree | 23ad90331453d704575fac0cc64beb8d4060214e /drivers/acpi/battery.c | |
parent | inet: protect against too small mtu values. (diff) | |
download | linux-51302f77bedab8768b761ed1899c08f89af9e4e2.tar.xz linux-51302f77bedab8768b761ed1899c08f89af9e4e2.zip |
net: ethernet: ti: cpsw: fix extra rx interrupt
Now RX interrupt is triggered twice every time, because in
cpsw_rx_interrupt() it is asked first and then disabled. So there will be
pending interrupt always, when RX interrupt is enabled again in NAPI
handler.
Fix it by first disabling IRQ and then do ask.
Fixes: 870915feabdc ("drivers: net: cpsw: remove disable_irq/enable_irq as irq can be masked from cpsw itself")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/battery.c')
0 files changed, 0 insertions, 0 deletions