ALSA: hda - Get back Input Source for ALC262 toshiba-s06 model
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2009 06:16:56 +0000 (08:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2009 08:13:36 +0000 (10:13 +0200)
The commit f9e336f65b666b8f1764d17e9b7c21c90748a37e
    ALSA: hda - Unify capture mixer creation in realtek codes
removed the "Input Source" mixer element creation for toshiba-s06 model
because it contains a digital-mic input.

This patch take the control back.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
sound/pci/hda/patch_realtek.c

index bf4b78a..105fb23 100644 (file)
@@ -11539,6 +11539,7 @@ static struct alc_config_preset alc262_presets[] = {
                .capsrc_nids = alc262_dmic_capsrc_nids,
                .dac_nids = alc262_dac_nids,
                .adc_nids = alc262_dmic_adc_nids, /* ADC0 */
+               .num_adc_nids = 1, /* single ADC */
                .dig_out_nid = ALC262_DIGOUT_NID,
                .num_channel_mode = ARRAY_SIZE(alc262_modes),
                .channel_mode = alc262_modes,