WSL2-Linux-Kernel/sound
Hans-Christian Egtvedt f488d9fcc8 [ALSA] at73c213: replace spinlock in mixer functions with a mutex
This patch fixes the locking bug in the at73c213 SPI sound driver. This bug was
triggered because spinlocks were wrapped around the spi_sync call which might
sleep. The fix was to add a mutex to the sound driver and replace the spinlocks
in the mixer functions with mutex lock/unlock.
Tested on STK1000/STK1002.

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-01-31 17:29:39 +01:00
..
aoa [ALSA] aoa - fix compile warning 2008-01-31 17:29:29 +01:00
arm [ALSA] Add missing device link 2008-01-31 17:29:37 +01:00
core [ALSA] Add SNDRV_PCM_IOCTL_TSTAMP back to compat ioctl 2008-01-31 17:29:36 +01:00
drivers [ALSA] drivers - Add missing snd_card_set_dev() 2008-01-31 17:29:29 +01:00
i2c [ALSA] switching rate in STAC9460 codec of Prodigy192 2008-01-31 17:29:30 +01:00
isa [ALSA] sb16 - Suppress compile warning 2008-01-31 17:29:34 +01:00
mips Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
oss [ARM] Remove pointless casts from void pointers, 2008-01-26 14:50:00 +00:00
parisc [PARISC] fix section mismatch warnings in harmony sound driver 2007-02-17 01:19:12 -05:00
pci [ALSA] hda-codec - sort pci quirk list 2008-01-31 17:29:37 +01:00
pcmcia [ALSA] Add missing device link 2008-01-31 17:29:37 +01:00
ppc [ALSA] Add missing device link 2008-01-31 17:29:37 +01:00
sh [ALSA] Check value range in ctl callbacks 2008-01-31 17:29:25 +01:00
soc [ALSA] soc/wm8731: Fix stereo mixer controls 2008-01-31 17:29:29 +01:00
sparc [ALSA] dbri - Fix broken change for value range checks 2008-01-31 17:29:26 +01:00
spi [ALSA] at73c213: replace spinlock in mixer functions with a mutex 2008-01-31 17:29:39 +01:00
synth Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
usb [ALSA] usb audio suspend support 2008-01-31 17:29:36 +01:00
Kconfig [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
last.c [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
sound_core.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00