summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMohan Kumar <mkumard@nvidia.com>2020-02-06 13:10:53 +0300
committerTakashi Iwai <tiwai@suse.de>2020-02-06 13:46:18 +0300
commit6d011d5057ff88ee556c000ac6fe0be23bdfcd72 (patch)
tree2b953164dce6f5f982dab4a2956e5a91029b4bcd /net/unix/af_unix.c
parentf2adbae0cb20c8eaf06914b2187043ea944b0aff (diff)
downloadlinux-6d011d5057ff88ee556c000ac6fe0be23bdfcd72.tar.xz
ALSA: hda: Clear RIRB status before reading WP
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions