ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
authorKailang Yang <kailang@realtek.com>
Fri, 23 Oct 2020 06:46:47 +0000 (14:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Dec 2020 14:27:46 +0000 (15:27 +0100)
commitf86de9b1c0663b0a3ca2dcddec9aa910ff0fbf2c
treebf28f1e1566a6129890cd2939455d031dc386adc
parent13be30f156fda725b168ac89fc91f78651575307
ALSA: hda/realtek - Fix speaker volume control on Lenovo C940

Cannot adjust speaker's volume on Lenovo C940.
Applying the alc298_fixup_speaker_volume function can fix the issue.

[ Additional note: C940 has I2S amp for the speaker and this needs the
  same initialization as Dell machines.
  The patch was slightly modified so that the quirk entry is moved
  next to the corresponding Dell quirk entry. -- tiwai ]

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/ea25b4e5c468491aa2e9d6cb1f2fced3@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c