From: William Light Date: Mon, 10 Oct 2011 15:54:22 +0000 (+0000) Subject: ALSA: snd-usb-caiaq: Fix NULL dereference in input.c X-Git-Tag: v3.2-rc1~127^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d37fbe44112b06279efa04ad91a0e4b7a0c600c;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed