Re: [PATCH net-next 07/12] net: bcmgenet: clear status to reduce spurious interrupts

Florian Fainelli
2017-03-14T00:57:14Z

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@gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian