summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-06-04 12:41:21 +0200
committerTakashi Iwai <tiwai@suse.de>2008-06-06 11:54:13 +0200
commit607d982bbea2a14b5b77cc7689f509d588e1e6da (patch)
treed9ed9561cc6a7fb94225d41d927d92a62569ac4f /sound
parent2c3bf9abb11dd8050cd2d153917d1746c8d5af05 (diff)
downloadop-kernel-dev-607d982bbea2a14b5b77cc7689f509d588e1e6da.zip
op-kernel-dev-607d982bbea2a14b5b77cc7689f509d588e1e6da.tar.gz
[ALSA] hda - increase max_codecs of ICH to 4
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 6e2dc4f..dc68709 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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,
OpenPOWER on IntegriCloud