[alsa-devel] [PATCH] ALSA: hda: Clear RIRB status before reading WP

Takashi Iwai tiwai at suse.de
Thu Feb 6 11:47:46 CET 2020


On Thu, 06 Feb 2020 11:10:53 +0100,
Viswanath L wrote:
> 
> From: Mohan Kumar <mkumard at nvidia.com>
> 
> 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 at nvidia.com>
> Signed-off-by: Viswanath L <viswanathl at nvidia.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list