commit | 8b7595855be807d0425e21c3eac35458db5683d5 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Oct 28 11:24:23 2013 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:04 2020 +0200 |
tree | 2cfcbde63e6508c2eaa3ebc9e5db83fa881252a1 | |
parent | 4fa53cb28dd0ff8b692c75dc8e8e97f9c105db9c [diff] |
ALSA: 6fire: Fix probe of multiple cards commit 9b389a8a022110b4bc055a19b888283544d9eba6 upstream. 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. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>