linux-stable/drivers/iio/imu
Nuno Sa 256e69ab96 iio: adis16475: do not directly change spi 'max_speed_hz'
With commit 3ba10e37371d ("iio: adis: add burst_max_speed_hz variable"), we
just need to define 'burst_max_speed_hz' and the adis core will take
care of setting up the spi transfers for burst mode. Hence, we fix
a potential race with the spi core where we could be left with an
invalid 'max_speed_hz'.

Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Fixes: fff7352bf7 ("iio: imu: Add support for adis16475")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210427085454.30616-6-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-05-17 13:49:09 +01:00
..
bmi160 iio:imu:bmi160: Fix alignment and data leak issues 2020-12-03 19:40:28 +00:00
inv_icm42600 iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
inv_mpu6050 iio: inv_mpu6050: Fully validate gyro and accel scale writes 2021-04-07 08:36:40 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
adis.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
adis16400.c iio: adis16400: do not return ints in irq handlers 2021-05-17 13:49:06 +01:00
adis16460.c iio:imu:adis: Use IRQF_NO_AUTOEN instead of irq request then disable 2021-04-07 08:36:39 +01:00
adis16475.c iio: adis16475: do not directly change spi 'max_speed_hz' 2021-05-17 13:49:09 +01:00
adis16480.c iio: adis: add helpers for locking 2021-03-11 20:47:12 +00:00
adis_buffer.c iio: adis: add burst_max_speed_hz variable 2021-05-17 13:49:09 +01:00
adis_trigger.c iio:imu:adis: Use IRQF_NO_AUTOEN instead of irq request then disable 2021-04-07 08:36:39 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
fxos8700_i2c.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
fxos8700_spi.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
Kconfig iio: imu: add Kconfig and Makefile for inv_icm42600 driver 2020-06-27 14:20:25 +01:00
kmx61.c iio: fix devm_iio_trigger_alloc with parent.cocci 2021-03-25 19:13:50 +00:00
Makefile iio: imu: add Kconfig and Makefile for inv_icm42600 driver 2020-06-27 14:20:25 +01:00