linux/drivers/iio/imu
Lorenzo Bianconi 51a8b70762 iio: imu: st_lsm6dsx: add regmap API support
Introduce regmap API support to access to i2c/spi bus instead of
using a custom support. Set max bulk read to
(32 / SAMPLE_SIZE) * SAMPLE_SIZE since spi_write_then_read() used in
regmap_spi indicates that is the max buffer length to use in order to
avoid a kmalloc for each bus access.
Remove lock mutex since concurrency is already managed by regmap API

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-08 16:03:43 +01:00
..
bmi160 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
inv_mpu6050 iio: imu: inv_mpu6050: Remove duplicate NULL check 2017-12-02 10:40:11 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: add regmap API support 2018-01-08 16:03:43 +01:00
Kconfig iio: imu: add support to lsm6dsx driver 2017-01-14 12:40:37 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis.c iio:adis: Add support for manual self-test flag clear 2016-04-16 13:42:43 +01:00
adis16400.h iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_buffer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis16400_core.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
adis16480.c Round one of new device support, features and cleanup for IIO in the 4.15 cycle. 2017-09-25 12:56:37 +02:00
adis_buffer.c iio: adis_buffer: Fix out-of-bounds memory access 2015-12-05 17:32:04 +00:00
adis_trigger.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
kmx61.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00