]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 13:25:49 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 13:25:49 +0000 (14:25 +0100)
added patches:
hid-asus-add-depends-on-usb_hid-to-hid_asus-kconfig-option.patch

queue-4.4/series [new file with mode: 0644]
queue-4.9/hid-asus-add-depends-on-usb_hid-to-hid_asus-kconfig-option.patch [new file with mode: 0644]
queue-4.9/series [new file with mode: 0644]

diff --git a/queue-4.4/series b/queue-4.4/series
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/queue-4.9/hid-asus-add-depends-on-usb_hid-to-hid_asus-kconfig-option.patch b/queue-4.9/hid-asus-add-depends-on-usb_hid-to-hid_asus-kconfig-option.patch
new file mode 100644 (file)
index 0000000..c68b923
--- /dev/null
@@ -0,0 +1,34 @@
+From c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Thu, 7 May 2020 11:53:34 +0200
+Subject: HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option
+
+From: Hans de Goede <hdegoede@redhat.com>
+
+commit c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 upstream.
+
+Since commit 4bc43a421218 ("HID: asus: Add
+hid_is_using_ll_driver(usb_hid_driver) check") the hid-asus.c depends
+on the usb_hid_driver symbol. Add a depends on USB_HID to Kconfig to
+fix missing symbols errors in hid-asus when USB_HID is not enabled.
+
+Fixes: 4bc43a421218 ("HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check")
+Reported-by: kbuild test robot <lkp@intel.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Jiri Kosina <jkosina@suse.cz>
+Cc: Jason Self <jason@bluehome.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/hid/Kconfig |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/hid/Kconfig
++++ b/drivers/hid/Kconfig
+@@ -136,6 +136,7 @@ config HID_APPLEIR
+ config HID_ASUS
+       tristate "Asus"
++      depends on USB_HID
+       depends on I2C_HID
+       ---help---
+       Support for Asus notebook built-in keyboard via i2c.
diff --git a/queue-4.9/series b/queue-4.9/series
new file mode 100644 (file)
index 0000000..c00d36b
--- /dev/null
@@ -0,0 +1 @@
+hid-asus-add-depends-on-usb_hid-to-hid_asus-kconfig-option.patch