]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Dec 2021 14:17:45 +0000 (15:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Dec 2021 14:17:45 +0000 (15:17 +0100)
added patches:
input-i8042-enable-deferred-probe-quirk-for-asus-um325ua.patch

queue-5.4/input-i8042-enable-deferred-probe-quirk-for-asus-um325ua.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/input-i8042-enable-deferred-probe-quirk-for-asus-um325ua.patch b/queue-5.4/input-i8042-enable-deferred-probe-quirk-for-asus-um325ua.patch
new file mode 100644 (file)
index 0000000..5a5af75
--- /dev/null
@@ -0,0 +1,43 @@
+From 44ee250aeeabb28b52a10397ac17ffb8bfe94839 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Samuel=20=C4=8Cavoj?= <samuel@cavoj.net>
+Date: Sat, 4 Dec 2021 13:17:36 -0800
+Subject: Input: i8042 - enable deferred probe quirk for ASUS UM325UA
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Samuel Čavoj <samuel@cavoj.net>
+
+commit 44ee250aeeabb28b52a10397ac17ffb8bfe94839 upstream.
+
+The ASUS UM325UA suffers from the same issue as the ASUS UX425UA, which
+is a very similar laptop. The i8042 device is not usable immediately
+after boot and fails to initialize, requiring a deferred retry.
+
+Enable the deferred probe quirk for the UM325UA.
+
+BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1190256
+Signed-off-by: Samuel Čavoj <samuel@cavoj.net>
+Link: https://lore.kernel.org/r/20211204015615.232948-1-samuel@cavoj.net
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/input/serio/i8042-x86ia64io.h |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/drivers/input/serio/i8042-x86ia64io.h
++++ b/drivers/input/serio/i8042-x86ia64io.h
+@@ -992,6 +992,13 @@ static const struct dmi_system_id __init
+                       DMI_MATCH(DMI_PRODUCT_NAME, "C504"),
+               },
+       },
++      {
++              /* ASUS ZenBook UM325UA */
++              .matches = {
++                      DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
++                      DMI_MATCH(DMI_PRODUCT_NAME, "ZenBook UX325UA_UM325UA"),
++              },
++      },
+       { }
+ };
index 4d923db8accaab556d658fc0935e104603318612..e8e21b8692e30d80370d05f9e42c4811c6f0d917 100644 (file)
@@ -37,3 +37,4 @@ f2fs-fix-to-do-sanity-check-on-last-xattr-entry-in-__f2fs_setxattr.patch
 usb-gadget-u_ether-fix-race-in-setting-mac-address-in-setup-phase.patch
 kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch
 mm-mempolicy-fix-thp-allocations-escaping-mempolicy-restrictions.patch
+input-i8042-enable-deferred-probe-quirk-for-asus-um325ua.patch