ALSA: hda - Add missing num_adc_nids definition for IDT92HD8xxx
authorTakashi Iwai <tiwai@suse.de>
Sat, 15 Aug 2009 09:57:53 +0000 (11:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 15 Aug 2009 09:57:53 +0000 (11:57 +0200)
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 <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index 7d33e0a76c1ebbbde90da5a9e132afb359d09533..eb9ca6f7a77d7ae9117a021a1b206c3c03ac4254 100644 (file)
@@ -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);