diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-01-01 19:54:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-08 16:03:43 +0100 |
commit | 51a8b707627b437f17a153812f049daf3da6729d (patch) | |
tree | 937647f5a989dceb5e1493e656e8a2cf23928b16 /sound/hda | |
parent | 335eaedce461c9092e133ce0c6247f5a0b0baf69 (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 'sound/hda')
0 files changed, 0 insertions, 0 deletions