]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek: Add inverted LED quirk for HP ZBook 8 G2a
authorChris Chiu <chris.chiu@canonical.com>
Thu, 16 Jul 2026 02:38:25 +0000 (10:38 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Jul 2026 06:33:30 +0000 (08:33 +0200)
commitac1e8d01f4ea0d4a5739c6f40b07484c6385cfbb
treeec536aa8dfda38245192adc16679413baea473fd
parenta3d6d3cedfe87bbd5a677d52b22ac20d28e59cf8
ALSA: hda/realtek: Add inverted LED quirk for HP ZBook 8 G2a

HP ZBook 8 G2a 14 and 16 (SSIDs 0x103c:0x8f94, 0x103c:0x8f95) use the
Realtek ALC245 codec with a TAS2781 amplifier via I2C. They share the same
hardware configuration as the existing 0x8f40/0x8f41/0x8f42/0x8f62 models
but have inverted speaker mute LED polarity, so the existing
ALC245_FIXUP_HP_TAS2781_I2C_MUTE_LED quirk drives the LED backwards: off
when muted and on when unmuted.

Add a dedicated quirk with inverted COEF values. These are speaker-only
models without an HP pin, so the LED is driven directly through the
vmaster_mute hook; there is no need to probe the HP pin at runtime since
the configuration is static and known per SSID.

Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
Link: https://patch.msgid.link/20260716023825.387532-1-chris.chiu@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c