diff options
author | Mohan Kumar <mkumard@nvidia.com> | 2020-02-06 15:40:53 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:14:32 +0200 |
commit | 63cf8e58c21322bd57357fcb7ff19c3d7ef89b97 (patch) | |
tree | 64ebd2c488fdb9bfc0c9169693fb136475c5fa7b /net/unix/af_unix.c | |
parent | 58f79f42e53ee35c9270c2205f34a62924d9e216 (diff) | |
download | linux-stable-63cf8e58c21322bd57357fcb7ff19c3d7ef89b97.tar.gz linux-stable-63cf8e58c21322bd57357fcb7ff19c3d7ef89b97.tar.bz2 linux-stable-63cf8e58c21322bd57357fcb7ff19c3d7ef89b97.zip |
ALSA: hda: Clear RIRB status before reading WP
[ Upstream commit 6d011d5057ff88ee556c000ac6fe0be23bdfcd72 ]
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@nvidia.com>
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Link: https://lore.kernel.org/r/1580983853-351-1-git-send-email-viswanathl@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions