aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2020-11-21 17:14:57 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-12-03 19:32:40 +0000
commit6d74a3ee1ee1c7b62de656c26d370448ed5885c3 (patch)
treeb388dbe103d259273e8edc82201055e7f6a58358 /tools/perf/scripts/python
parentASoC: stm32: dfsdm: add stm32_adfsdm_dummy_cb() callback (diff)
downloadlinux-6d74a3ee1ee1c7b62de656c26d370448ed5885c3.tar.gz
linux-6d74a3ee1ee1c7b62de656c26d370448ed5885c3.zip
iio: buffer: Return error if no callback is given
Return error in case no callback is provided to `iio_channel_get_all_cb()`. There's no point in setting up a buffer-cb if no callback is provided. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Olivier Moysan <olivier.moysan@st.com> Link: https://lore.kernel.org/r/20201121161457.957-3-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions