aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2020-02-10 15:26:05 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-08 17:28:31 +0000
commit366a543421cfaa78564bff4eb369791c7e9b85e7 (patch)
tree290c07822136a81ff51c4f15c69b974b26b0c196 /tools/perf/scripts/python
parentiio: imu: adis: add support product ID check in adis_initial_startup (diff)
downloadlinux-366a543421cfaa78564bff4eb369791c7e9b85e7.tar.gz
linux-366a543421cfaa78564bff4eb369791c7e9b85e7.zip
iio: adis16480: Make use of __adis_initial_startup
All actions done in `adis16480_initial_setup()` are now done in `__adis_initial_startup()` so, there's no need for code duplication. Furthermore, the call to `adis16480_initial_setup()` is done before any device configuration since the device will be reset if not already (via rst pin). This is actually fixing a potential bug since `adis_reset()` was being called after configuring the device which is obviously a problem. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions