]> 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>
Thu, 17 Feb 2011 22:46:37 +0000 (14:46 -0800)
commitcdde102cd5271d9e3927667b2b1bee676b2ab125
tree6cff6b38dbb3bd235cc82364c9b75061b606eace
parent5625ceb657a9963f23d2cd3ea17f5a202da5db05
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