diff options
| author | 2018-01-01 19:54:44 +0100 | |
|---|---|---|
| committer | 2018-01-08 16:03:43 +0100 | |
| commit | 51a8b707627b437f17a153812f049daf3da6729d (patch) | |
| tree | 937647f5a989dceb5e1493e656e8a2cf23928b16 /tools/perf/scripts/python/bin | |
| parent | iio: imu: st_lsm6dsx: introduce conf_lock mutex (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
