ALSA: snd-usb-us122l: Fix missing NULL checks
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Tue, 4 Jan 2011 00:20:37 +0000 (01:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jan 2011 18:50:28 +0000 (19:50 +0100)
commitcdce2db74e156fbd9a2dc3c7b246166f8b70955b
treed387a9aa0628282c287140d1377d5cf687c9487e
parent921eebdc18c82268eab446592191b39e35d031d6
ALSA: snd-usb-us122l: Fix missing NULL checks

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>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/us122l.c