diff options
author | Vitaliy Kulikov <Vitaliy.Kulikov@idt.com> | 2010-09-24 17:21:53 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-25 03:11:26 -0400 |
commit | f41cc2a85d52ac6971299922084ac5ac59dc339d (patch) | |
tree | fb1012856c1cdc1827601ce0bf076735b904c6ef /sound | |
parent | fec88dea9d316e9d850e84c5a57c4c6b15cb9b26 (diff) |
ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STAC
Fix bug in switching between dmic and mic when both use the same mux.
Signed-off-by: Vitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index a90327b0cc3e..d8dfafeab80e 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -3481,8 +3481,10 @@ static int stac92xx_auto_create_dmic_input_ctls(struct hda_codec *codec, | |||
3481 | return err; | 3481 | return err; |
3482 | } | 3482 | } |
3483 | 3483 | ||
3484 | if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1) | 3484 | if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1) { |
3485 | snd_hda_add_imux_item(imux, label, index, NULL); | 3485 | snd_hda_add_imux_item(imux, label, index, NULL); |
3486 | spec->num_analog_muxes++; | ||
3487 | } | ||
3486 | } | 3488 | } |
3487 | 3489 | ||
3488 | return 0; | 3490 | return 0; |