summaryrefslogtreecommitdiff
path: root/sound/drivers/serial-u16550.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>2007-12-17 19:30:06 +0300
committerJaroslav Kysela <perex@perex.cz>2008-01-31 19:29:39 +0300
commitf488d9fcc84692ca0060b4e16c1c61a8d514cea8 (patch)
tree701cfaeb3f883a6cc7cfc65356c03d7221e55237 /sound/drivers/serial-u16550.c
parentac3e37412c195f1b48fe06327eb4ad0c072a1222 (diff)
downloadlinux-f488d9fcc84692ca0060b4e16c1c61a8d514cea8.tar.xz
[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>
Diffstat (limited to 'sound/drivers/serial-u16550.c')
0 files changed, 0 insertions, 0 deletions