alistair23-linux/sound/pci
Takashi Iwai d21b96c8ed ALSA: mixart: Fix mutex deadlock
The code change for switching to non-atomic mode brought the
unexpected mutex deadlock in get_msg().  It converted the spinlock
with the existing mutex, but there were calls with the already holding
the mutex.  Since the only place that needs the extra lock is the code
path from snd_mixart_send_msg(), remove the mutex lock in get_msg()
and apply in the caller side for fixing the mutex deadlock.

Fixes: 8d3a8b5cb5 ("ALSA: mixart: Use nonatomic PCM ops")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201119121440.18945-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-11-19 18:26:30 +01:00
..
ac97 ALSA: Replace the word "slave" in vmaster API 2020-07-20 10:10:47 +02:00
ali5451
asihpi Merge branch 'for-next' into for-linus 2020-10-12 08:51:00 +02:00
au88x0 ALSA: Replace with fallthrough pseudo keyword in the remaining places 2020-07-09 19:10:43 +02:00
aw2 ALSA: pci/aw2-saa7146: remove 'set but not used' warning 2020-07-07 12:05:14 +02:00
ca0106 ALSA: ca0106: fix error code handling 2020-08-25 09:27:49 +02:00
cs46xx ALSA: pci: delete repeated words in comments 2020-08-06 09:30:02 +02:00
cs5535audio
ctxfi ALSA: ctxfi: Replace the word blacklist 2020-07-15 14:31:54 +02:00
echoaudio ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 2020-08-13 11:21:05 +02:00
emu10k1 ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
hda ALSA: hda/ca0132: Fix compile warning without PCI 2020-11-19 13:04:43 +01:00
ice1712 ALSA: pci: delete repeated words in comments 2020-08-06 09:30:02 +02:00
korg1212 ALSA: pci/korg1212: remove 'set but not used' warnings 2020-07-07 12:10:21 +02:00
lola
lx6464es
mixart ALSA: mixart: Fix mutex deadlock 2020-11-19 18:26:30 +01:00
nm256 ALSA: nm256: Replace the words blacklist 2020-07-15 14:31:56 +02:00
oxygen ALSA: pci: delete repeated words in comments 2020-08-06 09:30:02 +02:00
pcxhr
riptide ALSA: riptide: Replace tasklet with threaded irq 2020-09-09 18:34:10 +02:00
rme9652 ALSA: hdspm: Fix typo arbitary 2020-10-08 15:02:31 +02:00
trident
vx222
ymfpci ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
atiixp_modem.c
azt3328.c ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
azt3328.h
bt87x.c ALSA: bt87x: Replace the words white/blacklist 2020-07-15 14:31:54 +02:00
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c ALSA: pci/es1938: remove 'set but not used' warning 2020-07-07 12:11:59 +02:00
es1968.c ALSA: es1968: Replace the words white/blacklist 2020-07-15 14:31:55 +02:00
fm801.c ALSA: pci/fm801: fix kernel-doc 2020-07-07 12:12:21 +02:00
intel8x0.c ALSA: intel8x0: Replace the words white/blacklist 2020-07-15 14:31:56 +02:00
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c ALSA: via82xx: Replace the words whitelist 2020-07-15 14:31:57 +02:00
via82xx_modem.c ALSA: pci/via82xx: remove 'set but not used' warnings 2020-07-07 12:12:38 +02:00