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

Commit e25bcdba authored by Andrew Paprocki's avatar Andrew Paprocki Committed by Jaroslav Kysela
Browse files

[ALSA] hda_intel: Fix multiple device support by incrementing device count



Fixes multiple device support by incrementing the static device counter
at the end of the azx_probe() call. Without this, subsequent probes would
always use the index specified for the first card.

Signed-off-by: default avatarAndrew Paprocki <andrew@ishiboo.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 17467f23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pci_dev *pci,
	chip->running = 1;
	power_down_all_codecs(chip);

	dev++;
	return err;
}