summaryrefslogtreecommitdiffstats
path: root/iio-accel-kxcjk1013-Add-more-hardware-ids.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-02-12 17:16:34 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-02-12 17:16:34 -0600
commit866d1567e2be7f57009ec053bb5f125b7d845f03 (patch)
tree90f7797525f69a93d1e8d2cb834748f3b89a8905 /iio-accel-kxcjk1013-Add-more-hardware-ids.patch
parent9a04caa115e4adc84dbbc6996c66aa7e67455b51 (diff)
downloadkernel-866d1567e2be7f57009ec053bb5f125b7d845f03.tar.gz
kernel-866d1567e2be7f57009ec053bb5f125b7d845f03.tar.xz
kernel-866d1567e2be7f57009ec053bb5f125b7d845f03.zip
Linux v4.20.8
Diffstat (limited to 'iio-accel-kxcjk1013-Add-more-hardware-ids.patch')
-rw-r--r--iio-accel-kxcjk1013-Add-more-hardware-ids.patch38
1 files changed, 1 insertions, 37 deletions
diff --git a/iio-accel-kxcjk1013-Add-more-hardware-ids.patch b/iio-accel-kxcjk1013-Add-more-hardware-ids.patch
index d3e5eef2f..93f436818 100644
--- a/iio-accel-kxcjk1013-Add-more-hardware-ids.patch
+++ b/iio-accel-kxcjk1013-Add-more-hardware-ids.patch
@@ -21,43 +21,7 @@ index af53a1084ee5..8600e4be88ad 100644
{"KXCJ9000", KXCJ91008},
+ {"KIOX0009", KXTJ21009},
{"KIOX000A", KXCJ91008},
+ {"KIOX010A", KXCJ91008}, /* KXCJ91008 inside the display of a 2-in-1 */
{"KXTJ1009", KXTJ21009},
- {"SMO8500", KXCJ91008},
--
2.19.1
-
-From e45a7af34a700c99f91f50e021c187f05552f2f4 Mon Sep 17 00:00:00 2001
-From: Hans de Goede <hdegoede@redhat.com>
-Date: Tue, 20 Nov 2018 11:39:45 +0100
-Subject: [PATCH 4.20 regression fix] iio: accel: kxcjk1013: Add KIOX010A ACPI
- Hardware-ID
-
-Various 2-in-1's use KIOX010A and KIOX020A as HIDs for 2 KXCJ91008
-accelerometers. The KIOX010A HID is for the one in the base and the
-KIOX020A for the accelerometer in the keyboard.
-
-Since userspace does not have a way yet to deal with (or ignore) the
-accelerometer in the keyboard, this commit just adds the KIOX010A HID
-for now so that display rotation will work.
-
-Related: https://github.com/hadess/iio-sensor-proxy/issues/166
-Signed-off-by: Hans de Goede <hdegoede@redhat.com>
----
- drivers/iio/accel/kxcjk-1013.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
-index 8600e4be88ad..210742584041 100644
---- a/drivers/iio/accel/kxcjk-1013.c
-+++ b/drivers/iio/accel/kxcjk-1013.c
-@@ -1491,6 +1491,7 @@ static const struct acpi_device_id kx_acpi_match[] = {
- {"KXCJ9000", KXCJ91008},
- {"KIOX0009", KXTJ21009},
- {"KIOX000A", KXCJ91008},
-+ {"KIOX010A", KXCJ91008}, /* KXCJ91008 inside the display of a 2-in-1 */
- {"KXTJ1009", KXTJ21009},
- {"SMO8500", KXCJ91008},
- { },
---
-2.19.1
-