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)
commit61a6a108d15213f5ee06332e1e7766d3860e4453
tree6ffc2d8dbe6d7c80109f3e316e7a11da0e4c926b
parente0d32e335fc0e354db93a807736243f5035fbc67
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