]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Check for possible chip NULL pointer before clearing probing flag
authorThomas Pfaff <tpfaff@gmx.net>
Mon, 26 Sep 2011 13:43:59 +0000 (15:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Sep 2011 13:48:47 +0000 (15:48 +0200)
commit744681eef5cd51dbcb2c5f996620351f9ef16bb1
tree6ffc2d8dbe6d7c80109f3e316e7a11da0e4c926b
parent61dbe7515585ab9a3d23a8490b51744259f78ac1
ALSA: usb-audio: Check for possible chip NULL pointer before clearing probing flag

Before clearing the probing flag in the error exit path, check that the
chip pointer is not NULL.

Signed-off-by: Thomas Pfaff <tpfaff@gmx.net>
Cc: <stable@kernel.org> [2.6.39+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c