summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-08-03 13:28:41 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-16 00:29:58 +0300
commitcf15a2b518b3e6991ef1c2f87e9a7f7e4afa7b77 (patch)
tree14d26e46d4a2159fa5f22cc7317ef956d253d221 /drivers/Makefile
parent808175e21d9b7f866eda742e8970f27b78afe5db (diff)
downloadlinux-cf15a2b518b3e6991ef1c2f87e9a7f7e4afa7b77.tar.xz
iio: adc: at91-sama5d2_adc: exit from write_raw() when buffers are enabled
When buffers are enabled conversion may start asynchronously thus allowing changes on actual hardware could lead to bad behavior. Thus do not allow changing oversampling ratio and sample frequency when if iio_device_claim_direct_mode() returns with error. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220803102855.2191070-6-claudiu.beznea@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions