diff options
author | Nuno Sa <nuno.sa@analog.com> | 2021-04-27 10:54:54 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 13:49:10 +0100 |
commit | b27e1970aa1ed94135cd185d50c3d34b9114d547 (patch) | |
tree | fecce2562b9bc253e3f8c0918ed568484b85e250 /Documentation/ABI/testing/sysfs-bus-iio | |
parent | 256e69ab96934486a9da1c251d276134fdf61e32 (diff) |
iio: adis16400: do not directly change spi 'max_speed_hz'
With commit 3ba10e37371d ("iio: adis: add burst_max_speed_hz variable"), we
just need to define 'burst_max_speed_hz' and the adis core will take
care of setting up the spi transfers for burst mode. Hence, we fix
a potential race with the spi core where we could be left witn an
invalid 'max_speed_hz'.
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Fixes: 5eda3550a3cc1 ("staging:iio:adis16400: Preallocate transfer message")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210427085454.30616-7-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio')
0 files changed, 0 insertions, 0 deletions