]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio: accel: kxcjk-1013: add the "KIOX000A" ACPI id
authorChristophe Chapuis <chris.chapuis@gmail.com>
Sun, 17 Jul 2016 08:15:15 +0000 (10:15 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 24 Jul 2016 18:58:40 +0000 (19:58 +0100)
On the Cube i9 tablet, the ACPI id for the Kionix kxcj9 accelerometer is
"KIOX000A" (as can be seen in the DSDT of the Cube i9 tablet).
It is the same accelerometer, so only adding the ACPI id is needed.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxcjk-1013.c

index 765a72362dc61e37d32ad7cf75e805fcba1cc8a1..3f968c46e6677c416440ed581a4a260239214662 100644 (file)
@@ -1392,6 +1392,7 @@ static const struct acpi_device_id kx_acpi_match[] = {
        {"KXCJ1013", KXCJK1013},
        {"KXCJ1008", KXCJ91008},
        {"KXCJ9000", KXCJ91008},
+       {"KIOX000A", KXCJ91008},
        {"KXTJ1009", KXTJ21009},
        {"SMO8500",  KXCJ91008},
        { },