diff options
author | Nuno Sá <nuno.sa@analog.com> | 2020-02-10 16:26:02 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 20:28:30 +0300 |
commit | fdcf6bbb4ed388844e74810e117ac87db1347f3a (patch) | |
tree | d325639461e72f88afbf4d853c6320b3be00757c /drivers/iio/imu/adis_buffer.c | |
parent | 3f17ada8f38c57b6c81d41db6d911932b280d5b5 (diff) | |
download | linux-fdcf6bbb4ed388844e74810e117ac87db1347f3a.tar.xz |
iio: imu: adis: Add self_test_reg variable
This patch adds a dedicated self_test_reg variable. This is also a step
to let new drivers make use of `adis_initial_startup()`. Some devices
use MSG_CTRL reg to request a self_test command while others use the
GLOB_CMD register.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/adis_buffer.c')
0 files changed, 0 insertions, 0 deletions