Skip to content

Commit 3d56e19

Browse files
jwrdegoedejic23
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent f3476e8 commit 3d56e19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iio/accel/st_accel_i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ MODULE_DEVICE_TABLE(of, st_accel_of_match);
107107

108108
#ifdef CONFIG_ACPI
109109
static const struct acpi_device_id st_accel_acpi_match[] = {
110+
{"SMO8840", LNG2DM},
110111
{"SMO8A90", LNG2DM},
111112
{ },
112113
};

0 commit comments

Comments
 (0)