From: Greg Kroah-Hartman Date: Sun, 15 Jan 2017 16:39:28 +0000 (+0100) Subject: 4.4-stable patches X-Git-Tag: v4.9.5~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b722a6e74c6a4afba9c8c41ee45400e1621cdc30;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: input-i8042-add-pegatron-touchpad-to-noloop-table.patch input-xpad-use-correct-product-id-for-x360w-controllers.patch --- 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 index 00000000000..39486cac2f8 --- /dev/null +++ b/queue-4.4/input-i8042-add-pegatron-touchpad-to-noloop-table.patch @@ -0,0 +1,39 @@ +From 41c567a5d7d1a986763e58c3394782813c3bcb03 Mon Sep 17 00:00:00 2001 +From: Marcos Paulo de Souza +Date: Sun, 18 Dec 2016 15:26:12 -0800 +Subject: Input: i8042 - add Pegatron touchpad to noloop table + +From: Marcos Paulo de Souza + +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 +Signed-off-by: Marcos Paulo de Souza +Signed-off-by: Dmitry Torokhov +Signed-off-by: Greg Kroah-Hartman + +--- + 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 index 00000000000..d607ec2a5ce --- /dev/null +++ b/queue-4.4/input-xpad-use-correct-product-id-for-x360w-controllers.patch @@ -0,0 +1,42 @@ +From b6fc513da50c5dbc457a8ad6b58b046a6a68fd9d Mon Sep 17 00:00:00 2001 +From: Pavel Rojtberg +Date: Tue, 27 Dec 2016 11:44:51 -0800 +Subject: Input: xpad - use correct product id for x360w controllers + +From: Pavel Rojtberg + +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 +Signed-off-by: Dmitry Torokhov +Signed-off-by: Greg Kroah-Hartman + +--- + 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 index 00000000000..ff7435f795c --- /dev/null +++ b/queue-4.4/series @@ -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 index 00000000000..550e92f738d --- /dev/null +++ b/queue-4.9/series @@ -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