提交 e25bcdba 编写于 作者: A Andrew Paprocki 提交者: Jaroslav Kysela

[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: NAndrew Paprocki <andrew@ishiboo.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 17467f23
......@@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pci_dev *pci,
chip->running = 1;
power_down_all_codecs(chip);
dev++;
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册