Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e25bcd... Commit: e25bcdba1953268c10c308cd2e4526ea89bdbe0f Parent: 17467f23395f05ba7b361f7b504fe0f1095d5bb7 Author: Andrew Paprocki <andrew@ishiboo.com> AuthorDate: Sun Jan 13 11:57:17 2008 +0100 Committer: Jaroslav Kysela <perex@perex.cz> CommitDate: Thu Jan 31 17:29:55 2008 +0100 [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> --- sound/pci/hda/hda_intel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 3ae4b4c..25f35fa 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pci_dev *pci, chip->running = 1; power_down_all_codecs(chip); + dev++; return err; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
