]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Sep 2020 08:27:21 +0000 (10:27 +0200)
commitdb0c5150ccabc823975da31f3e2f4e1191e5fc99
tree697d35f5ffa8a3fb748eb0f76c63cf6c63ff90e0
parent4df237b30e28f6607511b3696a82dfcaff4887e8
ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520

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>
sound/pci/hda/patch_realtek.c