summaryrefslogtreecommitdiffstats
path: root/0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2017-08-07 18:19:41 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2017-08-07 18:19:41 -0500
commitc6ca7ce89b5b75086f48fcd700d57f05b8a67d68 (patch)
treef68b497cf80e50fcf6557fc10ad13898082c81e0 /0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch
parentd65e70ec069f94a43426afc2fa39926546423e3d (diff)
downloadkernel-c6ca7ce89b5b75086f48fcd700d57f05b8a67d68.tar.gz
kernel-c6ca7ce89b5b75086f48fcd700d57f05b8a67d68.tar.xz
kernel-c6ca7ce89b5b75086f48fcd700d57f05b8a67d68.zip
Linux v4.12.5 rebase
Diffstat (limited to '0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch')
-rw-r--r--0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch b/0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch
new file mode 100644
index 000000000..8eb41ee3f
--- /dev/null
+++ b/0013-iio-accel-bmc150-Add-support-for-BOSC0200-ACPI-devic.patch
@@ -0,0 +1,32 @@
+From bf3e9581e10a19b2ce77a45fe001116d269b4c7f Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Sun, 18 Jun 2017 12:47:38 +0200
+Subject: [PATCH 13/16] iio: accel: bmc150: Add support for BOSC0200 ACPI
+ device id
+
+Add support for the BOSC0200 ACPI device id used on some x86 tablets.
+note driver_data is not set to a specific model, driver_data is not
+used anyways (instead detection is done on the chip_id reg) and the
+2 tablets with a BOSC0200 ACPI device id I've have 2 different chips,
+one has a BMA250E, the other a BMA222E.
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ drivers/iio/accel/bmc150-accel-i2c.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/iio/accel/bmc150-accel-i2c.c b/drivers/iio/accel/bmc150-accel-i2c.c
+index 8ca8041267ef..f85014fbaa12 100644
+--- a/drivers/iio/accel/bmc150-accel-i2c.c
++++ b/drivers/iio/accel/bmc150-accel-i2c.c
+@@ -64,6 +64,7 @@ static const struct acpi_device_id bmc150_accel_acpi_match[] = {
+ {"BMA250E", bma250e},
+ {"BMA222E", bma222e},
+ {"BMA0280", bma280},
++ {"BOSC0200"},
+ { },
+ };
+ MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
+--
+2.13.0
+