Skip to content

Commit e43d110

Browse files
jessesungjic23
authored andcommitted
iio: st_sensors: remap SMO8840 to LIS2DH12
According to ST, the HID is for LIS2DH12. Fixes: 3d56e19 ("iio: accel: st_accel: Add support for the SMO8840 ACPI id") Signed-off-by: Wen-chien Jesse Sung <[email protected]> Tested-by: Hans de Goede <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 2ca5a87 commit e43d110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/accel/st_accel_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ MODULE_DEVICE_TABLE(of, st_accel_of_match);
110110

111111
#ifdef CONFIG_ACPI
112112
static const struct acpi_device_id st_accel_acpi_match[] = {
113-
{"SMO8840", (kernel_ulong_t)LNG2DM_ACCEL_DEV_NAME},
113+
{"SMO8840", (kernel_ulong_t)LIS2DH12_ACCEL_DEV_NAME},
114114
{"SMO8A90", (kernel_ulong_t)LNG2DM_ACCEL_DEV_NAME},
115115
{ },
116116
};

0 commit comments

Comments
 (0)