[ALSA] Fix bug in snd-usb-usx2y's usX2Y_pcms_lock_check()
authorKarsten Wiese <annabellesgarden@yahoo.de>
Wed, 4 Oct 2006 15:16:46 +0000 (17:16 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 6 Oct 2006 18:23:01 +0000 (20:23 +0200)
commit9b08c2aa54948361da0e2d26b47e3bcb8f8911e8
treed52df581096117e5cd75495f0defbdeebde0095b
parent104326f8df9925317cca64b84249d3eac5de7c74
[ALSA] Fix bug in snd-usb-usx2y's usX2Y_pcms_lock_check()

Fix bug in snd-usb-usx2y's usX2Y_pcms_lock_check()
substream can be NULL......
in mainline, bug was introduced by:
2006-06-22  [ALSA] Add O_APPEND flag support to PCM

Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usx2y/usx2yhwdeppcm.c