]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:16:22 +0000 (20:16 +0100)
commitd63a96f45c4f337f1c4d5e27f44aa732a7e463a9
treedf34f1935675dbabf7775883084ea176c743c6a6
parent30fd9778cf8f2c0791072039d3a89e1bbcc1cb5b
ALSA: hda/realtek - Fix speaker volume control on Lenovo C940

commit f86de9b1c0663b0a3ca2dcddec9aa910ff0fbf2c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c