mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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: Andrew Paprocki <andrew@ishiboo.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
17467f2339
commit
e25bcdba19
1 changed files with 1 additions and 0 deletions
|
@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pci_dev *pci,
|
|||
chip->running = 1;
|
||||
power_down_all_codecs(chip);
|
||||
|
||||
dev++;
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue