]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: snd-usb-us122l: Fix missing NULL checks
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Tue, 4 Jan 2011 00:20:37 +0000 (01:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:40 +0000 (12:45 -0700)
commitbd33d194a874963afdc3261fa1158b720e90633c
treeed5c7e79b858135239d4544847efd3714e7a8fde
parent8228803d07f7f154e97a71475ccd547afeea86bf
ALSA: snd-usb-us122l: Fix missing NULL checks

commit cdce2db74e156fbd9a2dc3c7b246166f8b70955b upstream.

Fix missing NULL checks in usb_stream_hwdep_poll() and usb_stream_hwdep_ioctl().
Wake up poll waiters before returning from usb_stream_hwdep_ioctl().

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/usx2y/us122l.c