diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-12-06 14:28:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-07 11:56:37 -0800 |
commit | 51302f77bedab8768b761ed1899c08f89af9e4e2 (patch) | |
tree | 23ad90331453d704575fac0cc64beb8d4060214e /drivers/char/scx200_gpio.c | |
parent | 501a90c945103e8627406763dac418f20f3837b2 (diff) | |
download | linux-51302f77bedab8768b761ed1899c08f89af9e4e2.tar.bz2 |
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/char/scx200_gpio.c')
0 files changed, 0 insertions, 0 deletions