[ALSA] hda-intel - Fix codec probe with ATI contorllers
commita9995a3557ebf09721fd111744ff8b6e498797a6
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Mar 2007 20:30:46 +0000 (12 21:30 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 14 Mar 2007 07:24:17 +0000 (14 08:24 +0100)
tree23bfc0d88b096182b4de3d066b3eb225393947e0
parenta64c8cd6e22bbc6a101da5b827e720fff35a5ab9
[ALSA] hda-intel - Fix codec probe with ATI contorllers

ATI controllers may have up to 4 codecs while ICH up to 3.
Thus the earlier fix to change AZX_MAX_CODECS to 3 cause a regression
on some devices that have the audio codec at bit#3.
Now max codecs is defined according to the driver type, either 3 or 4.
Currently 4 is set only to ATI chips.  Other might need the same
change, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_intel.c