OpenCloudOS-Kernel/drivers/iio/imu
Sergiu Cuciurean 61e618be6a iio: imu: adis_buffer: Use new structure for SPI transfer delays
In a recent change to the SPI subsystem [1], a new `delay` struct was added
to replace the `delay_usecs`. This change replaces the current
`delay_usecs` with `delay` for this driver.

The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure
that both `delay_usecs` & `delay` are used (in this order to preserve
backwards compatibility).

[1] commit bebcfd272d ("spi: introduce `delay` field for
`spi_transfer` + spi_transfer_delay_exec()")

Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-03-08 17:28:45 +00:00
..
bmi160 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
inv_mpu6050 iio: imu: inv_mpu6050: temperature only work with accel/gyro 2020-03-08 17:28:40 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: check return value from st_lsm6dsx_sensor_set_enable 2020-03-08 17:28:28 +00:00
Kconfig iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
Makefile iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
adis.c iio: imu: adis: add support product ID check in adis_initial_startup 2020-03-08 17:28:31 +00:00
adis16400.c iio: imu: adis: Add self_test_reg variable 2020-03-08 17:28:30 +00:00
adis16460.c iio: adis16460: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis16480.c iio: adis16480: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis_buffer.c iio: imu: adis_buffer: Use new structure for SPI transfer delays 2020-03-08 17:28:45 +00:00
adis_trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_i2c.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_spi.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
kmx61.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00