summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/battery.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-12-06 13:28:20 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-07 20:56:37 +0100
commit51302f77bedab8768b761ed1899c08f89af9e4e2 (patch)
tree23ad90331453d704575fac0cc64beb8d4060214e /drivers/acpi/battery.c
parentinet: protect against too small mtu values. (diff)
downloadlinux-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