diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-07-10 16:05:04 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-07-15 03:33:24 -0400 |
commit | fa70b032579aeb81f0625febff96339da7fa24f5 (patch) | |
tree | ae80f897cc2f27d8d6eb234b0d699ec8fb94be6d /libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch | |
parent | 3db6372809ed0b37a2d11a072b34230ec0d6a8af (diff) | |
download | abslibre-fa70b032579aeb81f0625febff96339da7fa24f5.tar.gz abslibre-fa70b032579aeb81f0625febff96339da7fa24f5.tar.bz2 abslibre-fa70b032579aeb81f0625febff96339da7fa24f5.zip |
[linux-libre-64]: WIP - upgrade to v5.18.5
Diffstat (limited to 'libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch')
-rw-r--r-- | libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch b/libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch deleted file mode 100644 index 757465081..000000000 --- a/libre/linux-libre-64/0006-lg-laptop-Recognize-more-models.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 9633e4af545533b6738180955a059af8f2bd904f 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 6/6] 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 88b551caeaaf..d6f74d3a7605 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; --- -2.34.1 - |