Skip to content

Commit f4b7f8f

Browse files
committed
platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
The Lenovo Legion 5 15ARH05 needs ideapad-laptop to call SALS_FNLOCK_ON / SALS_FNLOCK_OFF on Fn-lock state change to get the LED in the Fn key to correctly reflect the Fn-lock state. Add a DMI match for the Legion 5 15ARH05 to the set_fn_lock_led_list[] table for this. Fixes: 81a5603 ("platform/x86: ideapad-laptop: Fix interrupt storm on fn-lock toggle on some Yoga laptops") Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ad75bd8 commit f4b7f8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/platform/x86/ideapad-laptop.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,12 @@ static const struct dmi_system_id set_fn_lock_led_list[] = {
16211621
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Legion R7000P2020H"),
16221622
}
16231623
},
1624+
{
1625+
.matches = {
1626+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1627+
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Legion 5 15ARH05"),
1628+
}
1629+
},
16241630
{}
16251631
};
16261632

0 commit comments

Comments
 (0)