]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: lg-laptop: Recognize 2022-2025 models
authorJonas Ringeis <private@glitchdev.me>
Fri, 23 Jan 2026 22:54:23 +0000 (23:54 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 26 Jan 2026 14:44:40 +0000 (16:44 +0200)
commit662c9cb86fc322038647d8808e751f5c6c0cc13f
treeb1d9d58a26e5cf03c745e8b5ba546f4aa4ac6ea1
parent2b4e00d8e70ca8736fda82447be6a4e323c6d1f5
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.

Link: https://en.wikipedia.org/w/index.php?title=LG_Gram&oldid=1327931565#Comparison_of_Gram_models
Signed-off-by: Jonas Ringeis <private@glitchdev.me>
Link: https://patch.msgid.link/20260123225503.493467-1-private@glitchdev.me
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lg-laptop.c