forked from luck/tmp_suning_uos_patched
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:
parent
2ca73823d0
commit
a0e35e2416
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user