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: Jimmy Assarsson <jimmyassarsson@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Jimmy Assarsson 2020-03-24 22:52:25 +01:00 committed by Jonathan Cameron
parent 2ca73823d0
commit a0e35e2416

View File

@ -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;