summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorNathan Sullivan <nathan.sullivan@ni.com>2016-01-14 13:27:27 -0600
committerDavid S. Miller <davem@davemloft.net>2016-01-15 14:47:09 -0500
commit244683749e3c632ab45655098259d5514c179c8a (patch)
treeefe74e83c7ffcab7714e3ffe580f1d9209eb208f /drivers/net/phy
parent65a5124a71e85c35fa8d047a471950325855dccf (diff)
downloadop-kernel-dev-244683749e3c632ab45655098259d5514c179c8a.zip
op-kernel-dev-244683749e3c632ab45655098259d5514c179c8a.tar.gz
net: macb: clear interrupts when disabling them
Disabling interrupts with the IDR register does not stop the macb hardware from asserting its interrupt line if there are interrupts pending. Always clear the interrupts using ISR, and be sure to write it on hardware that is not read-to-clear, like Zynq. Not doing so will cause interrupts when the driver doesn't expect them. Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud