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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

diff -r acdc98363786 -r bde9dbdbd2ba pci/hda/hda_intel.c
--- a/pci/hda/hda_intel.c	Fri Jan 11 18:15:26 2008 +0100
+++ b/pci/hda/hda_intel.c	Sat Jan 12 18:59:58 2008 -0500
@@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pc
 	chip->running = 1;
 	power_down_all_codecs(chip);
 
+	dev++;
 	return err;
 }
 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux