From: Takashi Iwai Date: Sat, 15 Aug 2009 09:57:53 +0000 (+0200) Subject: ALSA: hda - Add missing num_adc_nids definition for IDT92HD8xxx X-Git-Tag: MMI-PSA29.97-13-9~25443^2~30^2~59 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7570ef18349d4f3a9336397952b05ec3e95ec4b7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ALSA: hda - Add missing num_adc_nids definition for IDT92HD8xxx The previous fix removed the definition of num_adc_nids wrongly, and this resulted in the missing input-source control. Now readded again. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 7d33e0a76c1e..eb9ca6f7a77d 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -5297,6 +5297,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec) spec->mux_nids = stac92hd83xxx_mux_nids; spec->num_muxes = ARRAY_SIZE(stac92hd83xxx_mux_nids); spec->adc_nids = stac92hd83xxx_adc_nids; + spec->num_adcs = ARRAY_SIZE(stac92hd83xxx_adc_nids); spec->pwr_nids = stac92hd83xxx_pwr_nids; spec->pwr_mapping = stac92hd83xxx_pwr_mapping; spec->num_pwrs = ARRAY_SIZE(stac92hd83xxx_pwr_nids);