]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 16:39:28 +0000 (17:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 16:39:28 +0000 (17:39 +0100)
added patches:
input-i8042-add-pegatron-touchpad-to-noloop-table.patch
input-xpad-use-correct-product-id-for-x360w-controllers.patch

queue-4.4/input-i8042-add-pegatron-touchpad-to-noloop-table.patch [new file with mode: 0644]
queue-4.4/input-xpad-use-correct-product-id-for-x360w-controllers.patch [new file with mode: 0644]
queue-4.4/series [new file with mode: 0644]
queue-4.9/series [new file with mode: 0644]

diff --git a/queue-4.4/input-i8042-add-pegatron-touchpad-to-noloop-table.patch b/queue-4.4/input-i8042-add-pegatron-touchpad-to-noloop-table.patch
new file mode 100644 (file)
index 0000000..39486ca
--- /dev/null
@@ -0,0 +1,39 @@
+From 41c567a5d7d1a986763e58c3394782813c3bcb03 Mon Sep 17 00:00:00 2001
+From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
+Date: Sun, 18 Dec 2016 15:26:12 -0800
+Subject: Input: i8042 - add Pegatron touchpad to noloop table
+
+From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
+
+commit 41c567a5d7d1a986763e58c3394782813c3bcb03 upstream.
+
+Avoid AUX loopback in Pegatron C15B touchpad, so input subsystem is able
+to recognize a Synaptics touchpad in the AUX port.
+
+Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=93791
+(Touchpad is not detected on DNS 0801480 notebook (PEGATRON C15B))
+
+Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/input/serio/i8042-x86ia64io.h |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- a/drivers/input/serio/i8042-x86ia64io.h
++++ b/drivers/input/serio/i8042-x86ia64io.h
+@@ -211,6 +211,12 @@ static const struct dmi_system_id __init
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Rev 1"),
+               },
+       },
++      {
++              .matches = {
++                      DMI_MATCH(DMI_SYS_VENDOR, "PEGATRON CORPORATION"),
++                      DMI_MATCH(DMI_PRODUCT_NAME, "C15B"),
++              },
++      },
+       { }
+ };
diff --git a/queue-4.4/input-xpad-use-correct-product-id-for-x360w-controllers.patch b/queue-4.4/input-xpad-use-correct-product-id-for-x360w-controllers.patch
new file mode 100644 (file)
index 0000000..d607ec2
--- /dev/null
@@ -0,0 +1,42 @@
+From b6fc513da50c5dbc457a8ad6b58b046a6a68fd9d Mon Sep 17 00:00:00 2001
+From: Pavel Rojtberg <rojtberg@gmail.com>
+Date: Tue, 27 Dec 2016 11:44:51 -0800
+Subject: Input: xpad - use correct product id for x360w controllers
+
+From: Pavel Rojtberg <rojtberg@gmail.com>
+
+commit b6fc513da50c5dbc457a8ad6b58b046a6a68fd9d upstream.
+
+currently the controllers get the same product id as the wireless
+receiver. However the controllers actually have their own product id.
+
+The patch makes the driver expose the same product id as the windows
+driver.
+
+This improves compatibility when running applications with WINE.
+
+see https://github.com/paroj/xpad/issues/54
+
+Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/input/joystick/xpad.c |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- a/drivers/input/joystick/xpad.c
++++ b/drivers/input/joystick/xpad.c
+@@ -1238,6 +1238,12 @@ static int xpad_init_input(struct usb_xp
+       input_dev->name = xpad->name;
+       input_dev->phys = xpad->phys;
+       usb_to_input_id(xpad->udev, &input_dev->id);
++
++      if (xpad->xtype == XTYPE_XBOX360W) {
++              /* x360w controllers and the receiver have different ids */
++              input_dev->id.product = 0x02a1;
++      }
++
+       input_dev->dev.parent = &xpad->intf->dev;
+       input_set_drvdata(input_dev, xpad);
diff --git a/queue-4.4/series b/queue-4.4/series
new file mode 100644 (file)
index 0000000..ff7435f
--- /dev/null
@@ -0,0 +1,2 @@
+input-xpad-use-correct-product-id-for-x360w-controllers.patch
+input-i8042-add-pegatron-touchpad-to-noloop-table.patch
diff --git a/queue-4.9/series b/queue-4.9/series
new file mode 100644 (file)
index 0000000..550e92f
--- /dev/null
@@ -0,0 +1,9 @@
+input-xpad-use-correct-product-id-for-x360w-controllers.patch
+input-i8042-add-pegatron-touchpad-to-noloop-table.patch
+pinctrl-imx-fix-imx_pinctrl_desc-initialization.patch
+pinctrl-sh-pfc-r8a7795-use-lookup-function-for-bias-data.patch
+regulator-tps65086-fix-25mv-ranges-for-buck-regulators.patch
+regulator-axp20x-fix-axp809-ldo_io-registration-error-on-cold-boot.patch
+drm-tegra-dpaux-fix-error-handling.patch
+drm-vc4-fix-a-couple-error-codes-in-vc4_cl_lookup_bos.patch
+drm-savage-dereferencing-an-error-pointer.patch