Re: [PATCH] ALSA: hda: Clear RIRB status before reading WP

From: Takashi Iwai
Date: Thu Feb 06 2020 - 05:47:53 EST


On Thu, 06 Feb 2020 11:10:53 +0100,
Viswanath L wrote:
>
> From: Mohan Kumar <mkumard@xxxxxxxxxx>
>
> RIRB interrupt status getting cleared after the write pointer is read
> causes a race condition, where last response(s) into RIRB may remain
> unserviced by IRQ, eventually causing azx_rirb_get_response to fall
> back to polling mode. Clearing the RIRB interrupt status ahead of
> write pointer access ensures that this condition is avoided.
>
> Signed-off-by: Mohan Kumar <mkumard@xxxxxxxxxx>
> Signed-off-by: Viswanath L <viswanathl@xxxxxxxxxx>

Applied, thanks.


Takashi