Skip to content

Commit 931837c

Browse files
Sharwesh05tiwai
authored andcommitted
ALSA: hda/realtek: Fix mute LED mask on HP OMEN 16 laptop
this patch is to fix my previous Commit <e5182305a519> i have fixed mute led but for by This patch corrects the coefficient mask value introduced in commit <e5182305a519>, which was intended to enable the mute LED functionality. During testing, multiple values were evaluated, and an incorrect value was mistakenly included in the final commit. This update fixes that error by applying the correct mask value for proper mute LED behavior. Tested on 6.15.5-arch1-1 Fixes: e518230 ("ALSA: hda/realtek: Enable Mute LED on HP OMEN 16 Laptop xd000xx") Signed-off-by: SHARAN KUMAR M <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4891516 commit 931837c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4753,7 +4753,7 @@ static void alc245_fixup_hp_mute_led_v1_coefbit(struct hda_codec *codec,
47534753
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
47544754
spec->mute_led_polarity = 0;
47554755
spec->mute_led_coef.idx = 0x0b;
4756-
spec->mute_led_coef.mask = 1 << 3;
4756+
spec->mute_led_coef.mask = 3 << 2;
47574757
spec->mute_led_coef.on = 1 << 3;
47584758
spec->mute_led_coef.off = 0;
47594759
snd_hda_gen_add_mute_led_cdev(codec, coef_mute_led_set);

0 commit comments

Comments
 (0)