aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 69f2744e4b4c..3ebb7616bf98 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4103,8 +4103,19 @@ static void alc_fixup_dell_xps13(struct hda_codec *codec,
4103{ 4103{
4104 if (action == HDA_FIXUP_ACT_PROBE) { 4104 if (action == HDA_FIXUP_ACT_PROBE) {
4105 struct alc_spec *spec = codec->spec; 4105 struct alc_spec *spec = codec->spec;
4106 struct hda_input_mux *imux = &spec->gen.input_mux;
4107 int i;
4108
4106 spec->shutup = alc_no_shutup; 4109 spec->shutup = alc_no_shutup;
4107 codec->power_filter = alc_power_filter_xps13; 4110 codec->power_filter = alc_power_filter_xps13;
4111
4112 /* Make the internal mic the default input source. */
4113 for (i = 0; i < imux->num_items; i++) {
4114 if (spec->gen.imux_pins[i] == 0x12) {
4115 spec->gen.cur_mux[0] = i;
4116 break;
4117 }
4118 }
4108 } 4119 }
4109} 4120}
4110 4121