Skip to content

Commit 541ee9b

Browse files
LorenzoBianconijic23
authored andcommitted
iio: magnetometer: st_magn: fix status register address for LSM303AGR
Fixes: 97865fe (iio: st_sensors: verify interrupt event to status) Signed-off-by: Lorenzo Bianconi <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent f1664ea commit 541ee9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/magnetometer/st_magn_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ static const struct st_sensor_settings st_magn_sensors_settings[] = {
358358
.mask_int1 = 0x01,
359359
.addr_ihl = 0x63,
360360
.mask_ihl = 0x04,
361-
.addr_stat_drdy = ST_SENSORS_DEFAULT_STAT_ADDR,
361+
.addr_stat_drdy = 0x67,
362362
},
363363
.multi_read_bit = false,
364364
.bootime = 2,

0 commit comments

Comments
 (0)