Browse Source

iio: accel: st_accel: Add support for the SMO8840 ACPI id

The Lenovo Ideapad Miix 320 uses an st accelerometer with an ACPI id
of SMO8840, add support for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Hans de Goede 7 years ago
parent
commit
3d56e19815
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/iio/accel/st_accel_i2c.c

+ 1 - 0
drivers/iio/accel/st_accel_i2c.c

@@ -107,6 +107,7 @@ MODULE_DEVICE_TABLE(of, st_accel_of_match);
 
 
 #ifdef CONFIG_ACPI
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id st_accel_acpi_match[] = {
 static const struct acpi_device_id st_accel_acpi_match[] = {
+	{"SMO8840", LNG2DM},
 	{"SMO8A90", LNG2DM},
 	{"SMO8A90", LNG2DM},
 	{ },
 	{ },
 };
 };