]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
platform/chrome: cros_ec_lpc: fix product identity for early Framework Laptops
authorDustin L. Howett <dustin@howett.net>
Tue, 24 Dec 2024 18:55:58 +0000 (12:55 -0600)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 25 Dec 2024 01:47:35 +0000 (01:47 +0000)
The product names for the Framework Laptop (12th and 13th Generation
Intel Core) are incorrect as of 62be134abf42.

Fixes: 62be134abf42 ("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>
drivers/platform/chrome/cros_ec_lpc.c

index 924bf4d3cc77b9f27d415a10c61ae06886fa7f80..8470b7f2b1358d83186aa31a0185c1e450d705c7 100644 (file)
@@ -707,7 +707,7 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
                /* Framework Laptop (12th Gen Intel Core) */
                .matches = {
                        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,
        },
@@ -715,7 +715,7 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
                /* Framework Laptop (13th Gen Intel Core) */
                .matches = {
                        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,
        },