summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7743775f6abb..16d210a7f158 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);