]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID
authorHans de Goede <hdegoede@redhat.com>
Tue, 20 Nov 2018 11:10:14 +0000 (12:10 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit39a63019e9a7ebbd46f6bbac4dcb44dd025302fc
tree25cf7c125f6f29e562090516b087d1e2948f4e0b
parent4d0d562d739ebff437c677e028256fe8850de04b
iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID

BugLink: https://bugs.launchpad.net/bugs/1837664
[ Upstream commit 7f6232e69539971cf9eaed07a6c14ab4a2361133 ]

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>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/iio/accel/kxcjk-1013.c