tmp_suning_uos_patched/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
us122l.c
us122l.h
usb_stream.c
usb_stream.h
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
usX2Yhwdep.c
usX2Yhwdep.h