From: Luís Ferreira Date: Tue, 2 Apr 2019 16:04:30 +0000 (+0100) Subject: iio: accel: add missing sensor for some 2-in-1 based ultrabooks X-Git-Tag: v5.4-rc1~602^2~38^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13c12f693001c301420c53ae94c252ea6bb08765;p=platform%2Fkernel%2Flinux-rpi.git iio: accel: add missing sensor for some 2-in-1 based ultrabooks Some ultrabooks, like Teclast F6 Pro, use KIOX010A sensor on display and KIOX020A sensor on keyboard base, to detect tablet mode or screen orientation. Signed-off-by: Luís Ferreira Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 2922a2e88a1b..bcd4d50b0330 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -1495,6 +1495,7 @@ static const struct acpi_device_id kx_acpi_match[] = { {"KIOX0009", KXTJ21009}, {"KIOX000A", KXCJ91008}, {"KIOX010A", KXCJ91008}, /* KXCJ91008 inside the display of a 2-in-1 */ + {"KIOX020A", KXCJ91008}, {"KXTJ1009", KXTJ21009}, {"KXJ2109", KXTJ21009}, {"SMO8500", KXCJ91008},