platform/x86: lg-laptop: Recognize 2022-2025 models
Subsystems (2)
PATCH 1/1 platform/x86: lg-laptop: Recognize 2022-2025 models
The lg-laptop driver uses the DMI to identify the product year. Currently, the driver recognizes all models released after 2022 incorrectly as 2022.
Update logic to handle model identifiers for years 2022-2025.
--- drivers/platform/x86/lg-laptop.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
drivers/platform/x86/lg-laptop.c +10 -1
@@ -838,8 +838,17 @@ static int acpi_add(struct acpi_device *device)case 'P' : year =2021 ;break ; -default : +case 'Q' : year =2022 ; +break ; +case 'R' : + year =2023 ; +break ; +case 'S' : + year =2024 ; +break ; +default : + year =2025 ; }break ;default :
Signature · 1 line
2.43.0
Ilpo Järvinen
maintainerQuoted 8 lines · Jonas Ringeis
The lg-laptop driver uses the DMI to identify the product year. Currently, the driver recognizes all models released after 2022 incorrectly as 2022.
Update logic to handle model identifiers for years 2022-2025.
[...]
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: lg-laptop: Recognize 2022-2025 models
commit: 662c9cb86fc322038647d8808e751f5c6c0cc13f
--
i.