]> 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)
commiteb848f6218cfc8957a9cfa9617231dbbfb6b3879
treeae832d43fde40b6e94000bd0592f0c4ee6d63d20
parent00adad472683f92a2b1f1a852edd9d92c59f26b9
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