]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] hda - increase max_codecs of ICH to 4
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Jun 2008 10:41:21 +0000 (12:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 09:54:13 +0000 (11:54 +0200)
It turned out that some ICH9-based boards use SD3 for the audio codec
where the current driver code doesn't probe.  Since we have a better
codec slot check now, it must be safe to increase this to 4.

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

index 6e2dc4f5ca7a7149f7732c2eeaac73a989416513..dc68709e75694dedbf8626190472c84864e3665b 100644 (file)
@@ -1104,7 +1104,7 @@ static int azx_setup_controller(struct azx *chip, struct azx_dev *azx_dev)
  */
 
 static unsigned int azx_max_codecs[] __devinitdata = {
-       [AZX_DRIVER_ICH] = 3,
+       [AZX_DRIVER_ICH] = 4,           /* Some ICH9 boards use SD3 */
        [AZX_DRIVER_SCH] = 3,
        [AZX_DRIVER_ATI] = 4,
        [AZX_DRIVER_ATIHDMI] = 4,