]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 14 Sep 2020 07:02:29 +0000 (15:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 15:36:32 +0000 (17:36 +0200)
commit3396e0ad33da8d0734afd331f7dda2f6ced3eeda
treeac3a9b3ccc5dc5f23d5286050acf5eb36965d478
parentad0643252831ede7d6ab7b70a4f03768e032e6b4
ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520

commit f73bbf639b32acb6b409e188fdde5644b301978f upstream.

On Lenovo P520, the front panel headset LED isn't lit up right now.

Realtek states that the LED needs to be enabled by ALC233's GPIO2, so
let's do it accordingly to light the LED up.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Hui Wang <hui.wang@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200914070231.13192-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c