Re: [PATCH net-next 07/12] net: bcmgenet: clear status to reduce spurious interrupts
From: Florian Fainelli
Date: Mon Mar 13 2017 - 20:57:16 EST
On 03/13/2017 05:41 PM, Doug Berger wrote:
> Since the DMA interrupt status is latched and the DMA servicing can be
> polled, it is a good idea to clear the latched status of a DMA interrupt
> before performing the service that would be invoked by the interrupt.
>
> This prevents old status from causing spurious interrupts when the
> interrupt is unmasked at a later time.
>
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian