diff mbox series

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

Message ID 20241224-platform-chrome-cros_ec_lpc-fix-product-identity-for-early-framework-laptops-v1-1-0d31d6e1d22c@howett.net (mailing list archive)
State Accepted
Commit dcd59d0d7d51b2a4b768fc132b0d74a97dfd6d6a
Headers show
Series platform/chrome: cros_ec_lpc: fix product identity for early Framework Laptops | expand

Commit Message

Dustin L. Howett Dec. 24, 2024, 6:55 p.m. UTC
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>
---
 drivers/platform/chrome/cros_ec_lpc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


---
base-commit: a15ab7a5cc2a17b6a803f624fcf215f4e68d56b6
change-id: 20241224-platform-chrome-cros_ec_lpc-fix-product-identity-for-early-framework-laptops-757474281ace

Best regards,

Comments

Thomas Weißschuh Dec. 24, 2024, 7:30 p.m. UTC | #1
Dec 24, 2024 19:56:06 Dustin L. Howett <dustin@howett.net>:

> 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
> ---

This --- is spurious.

> Signed-off-by: Dustin L. Howett <dustin@howett.net>

Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>

> ---
> drivers/platform/chrome/cros_ec_lpc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c
> index 588be75aeca16b6150c12d2811e4c9dfc31b904e..69801ace0496dd9ed31bc3d408c43b96ccb71186 100644
> --- a/drivers/platform/chrome/cros_ec_lpc.c
> +++ b/drivers/platform/chrome/cros_ec_lpc.c
> @@ -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,
>     },
>
> ---
> base-commit: a15ab7a5cc2a17b6a803f624fcf215f4e68d56b6
> change-id: 20241224-platform-chrome-cros_ec_lpc-fix-product-identity-for-early-framework-laptops-757474281ace
>
> Best regards,
> --
> Dustin L. Howett <dustin@howett.net>
Tzung-Bi Shih Dec. 25, 2024, 2:41 a.m. UTC | #2
On Tue, Dec 24, 2024 at 12:55:58PM -0600, Dustin L. Howett wrote:
> The product names for the Framework Laptop (12th and 13th Generation
> Intel Core) are incorrect as of 62be134abf42.
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: cros_ec_lpc: fix product identity for early Framework Laptops
      commit: dcd59d0d7d51b2a4b768fc132b0d74a97dfd6d6a

Thanks!
diff mbox series

Patch

diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c
index 588be75aeca16b6150c12d2811e4c9dfc31b904e..69801ace0496dd9ed31bc3d408c43b96ccb71186 100644
--- a/drivers/platform/chrome/cros_ec_lpc.c
+++ b/drivers/platform/chrome/cros_ec_lpc.c
@@ -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,
 	},