aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7743775f6abb..6ee34593774a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4373,6 +4373,7 @@ static int alc_alloc_spec(struct hda_codec *codec, hda_nid_t mixer_nid)
4373 if (!spec) 4373 if (!spec)
4374 return -ENOMEM; 4374 return -ENOMEM;
4375 codec->spec = spec; 4375 codec->spec = spec;
4376 codec->single_adc_amp = 1;
4376 spec->mixer_nid = mixer_nid; 4377 spec->mixer_nid = mixer_nid;
4377 snd_hda_gen_init(&spec->gen); 4378 snd_hda_gen_init(&spec->gen);
4378 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); 4379 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32);
@@ -6569,8 +6570,8 @@ static void alc861vd_fixup_dallas(struct hda_codec *codec,
6569 const struct alc_fixup *fix, int action) 6570 const struct alc_fixup *fix, int action)
6570{ 6571{
6571 if (action == ALC_FIXUP_ACT_PRE_PROBE) { 6572 if (action == ALC_FIXUP_ACT_PRE_PROBE) {
6572 snd_hda_override_pin_caps(codec, 0x18, 0x00001714); 6573 snd_hda_override_pin_caps(codec, 0x18, 0x00000734);
6573 snd_hda_override_pin_caps(codec, 0x19, 0x0000171c); 6574 snd_hda_override_pin_caps(codec, 0x19, 0x0000073c);
6574 } 6575 }
6575} 6576}
6576 6577