]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5
authorTakashi Iwai <tiwai@suse.de>
Sat, 6 Mar 2021 09:50:18 +0000 (10:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 6 Mar 2021 09:51:14 +0000 (10:51 +0100)
commit6b801a42bda0932b867e58865cdcf74c89a19763
treeae832d43fde40b6e94000bd0592f0c4ee6d63d20
parent58172db06d8bd794b2e26b124c58f19aecfc313a
ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5

The mute and mic-mute LEDs on HP ZBook Studio G5 are controlled via
GPIO bits 0x10 and 0x20, respectively, and we need the extra setup for
those.

As the similar code is already present for other HP models but with
different GPIO pins, this patch factors out the common helper code and
applies those GPIO values for each model.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211893
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210306095018.11746-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c