Commit 1098b7c2285d6d4c0d523563be580a56b07f11c7

Authored by Takashi Iwai
1 parent 6be7f5344b

ALSA: hda - Set codec->single_adc_amp flag for Realtek codecs

It turned out that Realtek codecs (ALC260, etc) with input amps in
audio-input widgets don't handle the multiple individual input amps.
Thus we need to set codec->single_adc_amp flag for them in general.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

sound/pci/hda/patch_realtek.c
... ... @@ -4373,6 +4373,7 @@
4373 4373 if (!spec)
4374 4374 return -ENOMEM;
4375 4375 codec->spec = spec;
  4376 + codec->single_adc_amp = 1;
4376 4377 spec->mixer_nid = mixer_nid;
4377 4378 snd_hda_gen_init(&spec->gen);
4378 4379 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32);