Skip to content

Commit a0e35e2

Browse files
jassarssonjic23
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 2ca7382 commit a0e35e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ struct st_lsm6dsx_odr {
111111
u8 val;
112112
};
113113

114-
#define ST_LSM6DSX_ODR_LIST_SIZE 6
114+
#define ST_LSM6DSX_ODR_LIST_SIZE 8
115115
struct st_lsm6dsx_odr_table_entry {
116116
struct st_lsm6dsx_reg reg;
117117

0 commit comments

Comments
 (0)