]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[ALSA] hda-intel - Don't try to probe invalid codecs
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Mar 2007 20:29:24 +0000 (22:29 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 28 Mar 2007 20:29:24 +0000 (22:29 +0200)
commit4eebc3a634130b6fc051034de488dfaff543e642
treef598ee00e2fc102118aab9958002e81d753cd0b7
parent1a1c089419386ce4cfe271315869c014ba522781
[ALSA] hda-intel - Don't try to probe invalid codecs

Fix the max number of codecs detected by HD-intel (and compatible)
controllers.

ATI controllers may have up to 4 codecs while ICH up to 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: Adrian Bunk <bunk@stusta.de>
sound/pci/hda/hda_intel.c