From: Takashi Iwai on
At Mon, 15 Mar 2010 01:06:17 +0100,
Alessandro Guido wrote:
>
> With 2.6.34-rc1+ my laptop (Sony Vaio VGN-FS215S) can't reproduce any
> sound. All controls are missing from alsamixer and this message is found
> in dmesg:
>
> hda_codec: cannot build controlsfor #0 (error -22)
>
> Kernel config is attached, and the output from alsa-info.sh follows:

Does the patch below fix?


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3a83719..ba45868 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6477,7 +6477,7 @@ static struct alc_config_preset alc260_presets[] = {
.num_dacs = ARRAY_SIZE(alc260_dac_nids),
.dac_nids = alc260_dac_nids,
.num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
- .adc_nids = alc260_adc_nids,
+ .adc_nids = alc260_dual_adc_nids,
.num_channel_mode = ARRAY_SIZE(alc260_modes),
.channel_mode = alc260_modes,
.input_mux = &alc260_capture_source,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/