aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2022-08-03 13:28:43 +0300
committerJonathan Cameron <[email protected]>2022-08-15 22:29:58 +0100
commit502966c3b0267aee88803eda639d95fb98db433b (patch)
treeb235c18022241e72bad6459ad56c309a1b78f12e /tools/perf/scripts/python
parent287c271dee146b7ab38f29d055691b8bc3753f35 (diff)
iio: adc: at91-sama5d2_adc: move the check of oversampling in its function
Oversampling values are checked anyway in at91_adc_emr_config(). Remove the checking of these from at91_adc_write_raw() and return -EINVAL instead in at91_adc_emr_config(). Suggested-by: Jonathan Cameron <[email protected]> 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')
0 files changed, 0 insertions, 0 deletions