Commit a0e35e24 authored by Jimmy Assarsson's avatar Jimmy Assarsson Committed by Jonathan Cameron

iio: imu: st_lsm6dsx: Increase ODR_LIST_SIZE

Support for sensor with up to 8 different ODR settings.
Required for supporting LIS3MDL as sensor hub slave device.
Signed-off-by: default avatarJimmy Assarsson <jimmyassarsson@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 2ca73823
......@@ -111,7 +111,7 @@ struct st_lsm6dsx_odr {
u8 val;
};
#define ST_LSM6DSX_ODR_LIST_SIZE 6
#define ST_LSM6DSX_ODR_LIST_SIZE 8
struct st_lsm6dsx_odr_table_entry {
struct st_lsm6dsx_reg reg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment