linux/sound/usb/caiaq
William Light 3d37fbe441 ALSA: snd-usb-caiaq: Fix NULL dereference in input.c
There was a case where a newly-registered input device could be opened before
a necessary variable in the device structure was set. When code tried to use
the variable in the URB reply callback, it would cause an Oops.

This fix sets the aforementioned variable before calling input_register_device.

Signed-off-by: William Light <wrl@illest.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-10-13 08:16:42 +02:00
..
audio.c ALSA: snd_usb_caiaq: track submitted output urbs 2011-08-14 18:10:43 +02:00
audio.h
control.c
control.h
device.c
device.h ALSA: snd_usb_caiaq: track submitted output urbs 2011-08-14 18:10:43 +02:00
input.c ALSA: snd-usb-caiaq: Fix NULL dereference in input.c 2011-10-13 08:16:42 +02:00
input.h
Makefile
midi.c
midi.h