mirror of https://gitee.com/openkylin/linux.git
51a8b70762
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> |
||
---|---|---|
.. | ||
bmi160 | ||
inv_mpu6050 | ||
st_lsm6dsx | ||
Kconfig | ||
Makefile | ||
adis.c | ||
adis16400.h | ||
adis16400_buffer.c | ||
adis16400_core.c | ||
adis16480.c | ||
adis_buffer.c | ||
adis_trigger.c | ||
kmx61.c |