diff options
| author | Claudiu Beznea <[email protected]> | 2022-08-03 13:28:51 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-08-15 22:29:58 +0100 |
| commit | a0f96db4ca1279d2c5150ed306e32a589f66070b (patch) | |
| tree | 2b432054bf962c5e6f2d87ea376a78a0804abab4 /tools/perf/scripts/python/flamegraph.py | |
| parent | 5f72666f4b1ac269fe5b3b3f0cfaa6ada6add57c (diff) | |
iio: adc: at91-sama5d2_adc: lock around at91_adc_read_info_raw()
Remove iio_device_{claim, release}_direct_mode() and lock/unlock to
&st->lock from at91_adc_read_info_raw(). Instead add a wrapper around
at91_adc_read_info_raw() and do there the lock/unlock. This will allow
using the at91_adc_read_info_raw() in patch that add support for
temperature sensor.
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions