linux-stable/sound/pci
Takashi Iwai 635c265f32 ALSA: ctxfi - Replace atc lock to mutex
The spinlock in atc can cause a sleep in lock:

Kernel failure message 1:
BUG: sleeping function called from invalid context at mm/slub.c:1599
in_atomic(): 0, irqs_disabled(): 1, pid: 2537, name: gstreamer-prope
Pid: 2537, comm: gstreamer-prope Tainted: P
2.6.29.4-167.fc11.x86_64 #1
Call Trace:
  [<ffffffff8103ff0f>] __might_sleep+0x10b/0x110
  [<ffffffff810cd734>] __kmalloc+0x73/0x130
  [<ffffffffa0b4b142>] ? daio_rsc_init+0xaa/0x125 [snd_ctxfi]
  [<ffffffffa0b4b212>] dao_rsc_init+0x55/0x1c0 [snd_ctxfi]
  [<ffffffffa0b4b3d2>] dao_rsc_reinit+0x55/0x5d [snd_ctxfi]
  [<ffffffff813abd6c>] ? _spin_lock_irqsave+0x32/0x3b
  [<ffffffffa0b454fe>] atc_spdif_out_passthru+0x92/0x136 [snd_ctxfi]
  ...

Since the lock path is no critical path, it can be gracefully
replaced with a mutex.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-13 10:12:59 +02:00
..
ac97 [ALSA] ac97_codec: increase timeout for analog subsections 2009-04-21 15:17:54 +02:00
ali5451 dma-mapping: replace all DMA_31BIT_MASK macro with DMA_BIT_MASK(31) 2009-04-07 08:31:11 -07:00
au88x0 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
aw2 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ca0106 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
cs46xx Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
cs5535audio dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ctxfi ALSA: ctxfi - Replace atc lock to mutex 2009-06-13 10:12:59 +02:00
echoaudio ALSA: indigo-express: add missing 64KHz flags 2009-04-28 11:19:39 +02:00
emu10k1 Merge branch 'fix/misc' into for-linus 2009-04-19 11:40:02 +02:00
hda ALSA: hda - Fix init verbs of AD1884A mobile model 2009-04-23 08:24:48 +02:00
ice1712 dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
korg1212 ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
mixart dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
nm256 ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
oxygen Merge branch 'topic/snd_card_new-err' into for-linus 2009-03-24 00:35:35 +01:00
pcxhr dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
riptide ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
rme9652 Merge branch 'topic/hwdep-cleanup' into for-linus 2009-03-24 00:35:41 +01:00
trident dma-mapping: replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30) 2009-04-07 08:31:11 -07:00
vx222 Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
ymfpci Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
ad1889.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ad1889.h
ak4531_codec.c ALSA: Fix missing KERN_* prefix to printk in sound/pci 2009-02-05 16:11:31 +01:00
als300.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
als4000.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
atiixp.c ALSA: Atiixp: Add SSID for mute_led quirk (unknown HP model) 2009-04-20 13:42:07 +02:00
atiixp_modem.c ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
azt3328.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
azt3328.h ALSA: sound/pci/azt3328.h: no variables for enums 2008-07-27 10:22:25 +02:00
bt87x.c ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
cmipci.c ALSA: Fix Trivial Warnining in sound/pci/cmipci.c 2009-04-27 13:53:13 +02:00
cs4281.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
cs5530.c ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
ens1370.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
ens1371.c
es1938.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
es1968.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
fm801.c ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
intel8x0.c Merge commit 'alsa/master' into for-linus 2009-04-22 09:09:29 +02:00
intel8x0m.c Merge branch 'topic/intel8x0' into for-linus 2009-03-24 00:36:13 +01:00
Kconfig ALSA: ctxfi - Remove PAGE_SIZE limitation 2009-06-02 15:54:46 +02:00
maestro3.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
Makefile ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
rme32.c ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
rme96.c ALSA: Convert to snd_card_create() in sound/pci/* 2009-01-12 15:20:55 +01:00
sis7019.c dma-mapping: replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30) 2009-04-07 08:31:11 -07:00
sis7019.h [ALSA] sis7019: support the SiS 7019 Audio Accelerator 2008-01-31 17:29:36 +01:00
sonicvibes.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
via82xx.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
via82xx_modem.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00