From 5f3e9d9d3b7d558a59936f1826ff256d417ceac9 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Sat, 16 Apr 2022 15:54:33 -0400 Subject: [linux-libre]: upgrade to v5.17.3 (x86_64 only) --- .../0006-lg-laptop-Recognize-more-models.patch | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 libre/linux-libre/0006-lg-laptop-Recognize-more-models.patch (limited to 'libre/linux-libre/0006-lg-laptop-Recognize-more-models.patch') diff --git a/libre/linux-libre/0006-lg-laptop-Recognize-more-models.patch b/libre/linux-libre/0006-lg-laptop-Recognize-more-models.patch deleted file mode 100644 index 757465081..000000000 --- a/libre/linux-libre/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 -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 -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 - -- cgit v1.2.3