Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b389a8a authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 63437313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment