aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorGrygorii Strashko <[email protected]>2019-12-06 14:28:20 +0200
committerDavid S. Miller <[email protected]>2019-12-07 11:56:37 -0800
commit51302f77bedab8768b761ed1899c08f89af9e4e2 (patch)
tree23ad90331453d704575fac0cc64beb8d4060214e /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent501a90c945103e8627406763dac418f20f3837b2 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions