]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:08 +0000 (11:41 -0700)
commit81aac2ec5c236e54389d8940da0d318dd23e06ee
tree40561608f9c0bac67801a6b1c0f8dd54a759713f
parentabdd8c6a58728c695a59f9d6b95d9b6b4d7ffbc8
ALSA: usb-audio: Check for possible chip NULL pointer before clearing probing flag

commit 61a6a108d15213f5ee06332e1e7766d3860e4453 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/card.c