linux_old1/sound/usb/usx2y
Takashi Iwai e2439a5401 ALSA: usx2y: Don't peep the card internal object
Avoid traversing the device object list of the card instance just for
checking the PCM streams.  The driver's private object already
contains the array of substream pointers, so it can be simply looked
through.  The card internal may be restructured in future, thus better
not to rely on it.

Also, this fixes the possible deadlocks in PCM mutex.  Instead of
taking multiple PCM mutexes, just take the common mutex in all
places.  Along with it, rename prepare_mutex as pcm_mutex.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-02-17 10:16:25 +01:00
..
Makefile ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
us122l.c ALSA: usb: Convert to snd_card_new() with a device pointer 2014-02-12 11:18:00 +01:00
us122l.h ALSA: snd-usb-us122l: add product IDs of US-122MKII and US-144MKII 2009-12-08 12:56:50 +01:00
usX2Yhwdep.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
usX2Yhwdep.h
usb_stream.c ALSA: USB: adjust for changed 3.8 USB API 2013-04-29 10:57:35 +02:00
usb_stream.h ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usbus428ctldefs.h
usbusx2y.c ALSA: usx2y: Don't peep the card internal object 2014-02-17 10:16:25 +01:00
usbusx2y.h ALSA: usx2y: Don't peep the card internal object 2014-02-17 10:16:25 +01:00
usbusx2yaudio.c ALSA: usx2y: Don't peep the card internal object 2014-02-17 10:16:25 +01:00
usx2y.h
usx2yhwdeppcm.c ALSA: usx2y: Don't peep the card internal object 2014-02-17 10:16:25 +01:00
usx2yhwdeppcm.h ALSA: sound/usb/usx2y: fix sparse warning: Should it be static? 2009-02-26 09:57:17 +01:00