]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:15 +0000 (12:46 -0400)
commit9223b3f0686caf897e0143229151525744229a53
tree1017f623bcbb5df3bb9403f9d4d3238c6894014d
parent7b5472f93955149012908f28b41e2ace47d71197
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: Paul Gortmaker <paul.gortmaker@windriver.com>
sound/usb/usx2y/us122l.c