diff options
| author | Alexandru Ardelean <aardelean@baylibre.com> | 2024-10-25 12:59:35 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-28 20:04:10 +0000 |
| commit | 8456a9f0721201b9713ad4a0ad0c6ef619286cb3 (patch) | |
| tree | 915008ebb4d1a576c5d931e9af59bb859aab5057 /tools/perf/scripts/python/task-analyzer.py | |
| parent | iio: imu: bmi270: Provide chip info as configuration structure (diff) | |
| download | linux-8456a9f0721201b9713ad4a0ad0c6ef619286cb3.tar.gz linux-8456a9f0721201b9713ad4a0ad0c6ef619286cb3.zip | |
iio: adc: ad7606: fix/persist oversampling_ratio setting
When the mutexes were reworked to guards, the caching of the
oversampling_ratio values was removed by accident.
The main effect of this change is that, after setting the
oversampling_ratio value, reading it back would result in the initial value
(of 1).
The value would get sent to the device correctly though.
Fixes 2956979dbd0d: ("iio: adc: ad7606: switch mutexes to guard")
Signed-off-by: Alexandru Ardelean <aardelean@baylibre.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241025095939.271811-2-aardelean@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
