platform/chrome: cros_ec_lpc: fix product identity for early Framework Laptops

The product names for the Framework Laptop (12th and 13th Generation
Intel Core) are incorrect as of 62be134abf.

Fixes: 62be134abf ("platform/chrome: cros_ec_lpc: switch primary DMI data for Framework Laptop")
Cc: stable@vger.kernel.org # 6.12.x
Signed-off-by: Dustin L. Howett <dustin@howett.net>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241224-platform-chrome-cros_ec_lpc-fix-product-identity-for-early-framework-laptops-v1-1-0d31d6e1d22c@howett.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
This commit is contained in:
Dustin L. Howett 2024-12-24 12:55:58 -06:00 committed by Tzung-Bi Shih
parent ea45f3f467
commit dcd59d0d7d

View File

@ -707,7 +707,7 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
/* Framework Laptop (12th Gen Intel Core) */ /* Framework Laptop (12th Gen Intel Core) */
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Framework"), DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "12th Gen Intel Core"), DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Laptop (12th Gen Intel Core)"),
}, },
.driver_data = (void *)&framework_laptop_mec_lpc_driver_data, .driver_data = (void *)&framework_laptop_mec_lpc_driver_data,
}, },
@ -715,7 +715,7 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
/* Framework Laptop (13th Gen Intel Core) */ /* Framework Laptop (13th Gen Intel Core) */
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Framework"), DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "13th Gen Intel Core"), DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Laptop (13th Gen Intel Core)"),
}, },
.driver_data = (void *)&framework_laptop_mec_lpc_driver_data, .driver_data = (void *)&framework_laptop_mec_lpc_driver_data,
}, },