Skip to content

Commit

Permalink
[ALSA] hda_intel: Fix multiple device support by incrementing device …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Andrew Paprocki authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 17467f2 commit e25bcdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1933,6 +1933,7 @@ static int __devinit azx_probe(struct pci_dev *pci,
chip->running = 1;
power_down_all_codecs(chip);

dev++;
return err;
}

Expand Down

0 comments on commit e25bcdb

Please sign in to comment.