diff options
author | Evgeny Myandin | 2022-01-26 12:27:14 +0300 |
---|---|---|
committer | Evgeny Myandin | 2022-01-26 12:27:14 +0300 |
commit | 0fca852a409d353a8be66323bdfedd1a55a443dc (patch) | |
tree | 8f5f2318452ce5086d70b64f1d1e7769c6466516 /0006-lg-laptop_Recognize_more_models.patch | |
parent | 6c12ee1448d643f1aee0b2047a56c3f73080e452 (diff) | |
download | aur-0fca852a409d353a8be66323bdfedd1a55a443dc.tar.gz |
kernel release 5.16.2
Diffstat (limited to '0006-lg-laptop_Recognize_more_models.patch')
-rw-r--r-- | 0006-lg-laptop_Recognize_more_models.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/0006-lg-laptop_Recognize_more_models.patch b/0006-lg-laptop_Recognize_more_models.patch deleted file mode 100644 index 8fbd217c36a2..000000000000 --- a/0006-lg-laptop_Recognize_more_models.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 675d4b66de78eec370cf5053eecdf00b26780af3 Mon Sep 17 00:00:00 2001 -From: Matan Ziv-Av <matan@svgalib.org> -Date: Tue, 23 Nov 2021 22:14:55 +0200 -Subject: [PATCH] lg-laptop: Recognize more models - -LG uses 5 instead of 0 in the third digit (second digit after 2019) of the year string to indicate newer models in the same year. Handle this case as well. - -Signed-off-by: Matan Ziv-Av <matan@svgalib.org> -For: https://bugs.archlinux.org/task/71772 ---- - drivers/platform/x86/lg-laptop.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/drivers/platform/x86/lg-laptop.c b/drivers/platform/x86/lg-laptop.c -index 88b551caeaaf41..d6f74d3a7605e2 100644 ---- a/drivers/platform/x86/lg-laptop.c -+++ b/drivers/platform/x86/lg-laptop.c -@@ -658,6 +658,18 @@ static int acpi_add(struct acpi_device *device) - if (product && strlen(product) > 4) - switch (product[4]) { - case '5': -+ if (strlen(product) > 5) -+ switch (product[5]) { -+ case 'N': -+ year = 2021; -+ break; -+ case '0': -+ year = 2016; -+ break; -+ default: -+ year = 2022; -+ } -+ break; - case '6': - year = 2016; - break; |