Re: [PATCH] net: macb: clear interrupts when disabling them

From: David Miller
Date: Fri Jan 15 2016 - 14:47:56 EST

From: Nathan Sullivan <nathan.sullivan@xxxxxx>
Date: Thu, 14 Jan 2016 13:27:27 -0600

> 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@xxxxxx>

Applied, thanks.