[alsa-devel] Fix num_adc_nids assignment for eeepc p701 config preset

Herton Ronaldo Krzesinski herton at mandriva.com.br
Sat Feb 23 05:31:06 CET 2008


Fix num_adc_nids assignment for eeepc p701 config preset.

Signed-off-by: Herton Ronaldo Krzesinski <herton at mandriva.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 586d98f..6f7dd96 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -13388,7 +13388,7 @@ static struct alc_config_preset alc662_presets[] = {
 				alc662_eeepc_sue_init_verbs },
 		.num_dacs = ARRAY_SIZE(alc662_dac_nids),
 		.dac_nids = alc662_dac_nids,
-		.num_adc_nids = ARRAY_SIZE(alc861vd_adc_nids),
+		.num_adc_nids = ARRAY_SIZE(alc662_adc_nids),
 		.adc_nids = alc662_adc_nids,
 		.num_channel_mode = ARRAY_SIZE(alc662_3ST_2ch_modes),
 		.channel_mode = alc662_3ST_2ch_modes,

--
[]'s
Herton


More information about the Alsa-devel mailing list