aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-08-03 13:28:51 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-15 22:29:58 +0100
commita0f96db4ca1279d2c5150ed306e32a589f66070b (patch)
tree2b432054bf962c5e6f2d87ea376a78a0804abab4 /include/dt-bindings
parentiio: adc: at91-sama5d2_adc: add startup and tracktim as parameter for at91_adc_setup_samp_freq() (diff)
downloadlinux-dev-a0f96db4ca1279d2c5150ed306e32a589f66070b.tar.xz
linux-dev-a0f96db4ca1279d2c5150ed306e32a589f66070b.zip
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 <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220803102855.2191070-16-claudiu.beznea@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions