Skip to content

Commit 8853e8c

Browse files
committed
platform/x86: ideapad-laptop: Add Ideapad 5 15ITL05 to ideapad_dytc_v4_allow_table[]
The Ideapad 5 15ITL05 uses DYTC version 4 for platform-profile control. This has been tested successfully with the ideapad-laptop DYTC version 5 code; Add the Ideapad 5 15ITL05 to the ideapad_dytc_v4_allow_table[]. Fixes: 599482c ("platform/x86: ideapad-laptop: Add platform support for Ideapad 5 Pro 16ACH6-82L5") Link: https://bugzilla.kernel.org/show_bug.cgi?id=213297 Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a27a1e3 commit 8853e8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

drivers/platform/x86/ideapad-laptop.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,12 +875,18 @@ static void dytc_profile_refresh(struct ideapad_private *priv)
875875
static const struct dmi_system_id ideapad_dytc_v4_allow_table[] = {
876876
{
877877
/* Ideapad 5 Pro 16ACH6 */
878-
.ident = "LENOVO 82L5",
879878
.matches = {
880879
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
881880
DMI_MATCH(DMI_PRODUCT_NAME, "82L5")
882881
}
883882
},
883+
{
884+
/* Ideapad 5 15ITL05 */
885+
.matches = {
886+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
887+
DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad 5 15ITL05")
888+
}
889+
},
884890
{}
885891
};
886892

0 commit comments

Comments
 (0)