]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: imu: adis16400: move burst logic to ADIS lib
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 22 Mar 2019 20:44:40 +0000 (22:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:26 +0000 (20:20 +0100)
commit0e92e2d036232da1543599dc9b7acc1ce4289d1b
treeef02c10668d99b92b36887c42e6d0f68caea41f9
parent5075e0720d93a84e059759c5d8c6a78613d0face
iio: imu: adis16400: move burst logic to ADIS lib

This change has been done separately, so that it's easier to visualize the
changed logic in the adis_scan_update() function.

Most of the function in this `adis16400_update_scan_mode()` that deals with
burst-mode will be re-used in the ADIS16480, but with different parameters.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/Makefile
drivers/iio/imu/adis16400.h
drivers/iio/imu/adis16400_buffer.c [deleted file]
drivers/iio/imu/adis16400_core.c
drivers/iio/imu/adis_buffer.c