Commit 1b375101 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Jonathan Cameron
Browse files

iio: imu: st_lsm6dsx: fix gyro gain definitions for LSM9DS1



Fix typos in gyro gain definitions for LSM9DS1 sensor

Fixes: 52f4b1f1 ("iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9ds1")
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent c991bf9b
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -161,9 +161,10 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = {
					.addr = 0x10,
					.addr = 0x10,
					.mask = GENMASK(4, 3),
					.mask = GENMASK(4, 3),
				},
				},
				.fs_avl[0] = {  IIO_DEGREE_TO_RAD(245), 0x0 },

				.fs_avl[1] = {  IIO_DEGREE_TO_RAD(500), 0x1 },
				.fs_avl[0] = {  IIO_DEGREE_TO_RAD(8750), 0x0 },
				.fs_avl[2] = { IIO_DEGREE_TO_RAD(2000), 0x3 },
				.fs_avl[1] = { IIO_DEGREE_TO_RAD(17500), 0x1 },
				.fs_avl[2] = { IIO_DEGREE_TO_RAD(70000), 0x3 },
				.fs_len = 3,
				.fs_len = 3,
			},
			},
		},
		},