]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda_intel: Fix multiple device support by incrementing device count
authorAndrew Paprocki <andrew@ishiboo.com>
Sun, 13 Jan 2008 10:57:17 +0000 (11:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:55 +0000 (17:29 +0100)
commitb7b7e893f2755617884a709557500caf5a51fb7f
tree85ef9bf0b2c9344154d473bde25234e5a3c169e2
parent98f88ee08541c70df782d95a6d97a238cf23efd7
[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