]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: 6fire: Fix probe of multiple cards
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Oct 2013 10:24:23 +0000 (11:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Oct 2013 10:37:11 +0000 (11:37 +0100)
commit9b389a8a022110b4bc055a19b888283544d9eba6
tree28a32f4c5aeb5adb1705a2d198babd213fdffcc9
parent63437313daaf90b372d5b383a8cc6ec8dce185fa
ALSA: 6fire: Fix probe of multiple cards

The probe code of snd-usb-6fire driver overrides the devices[] pointer
wrongly without checking whether it's already occupied or not.  This
would screw up the device disconnection later.

Spotted by coverity CID 141423.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/6fire/chip.c