summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGiorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>2026-02-24 17:23:55 +0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-01 11:20:10 +0000
commit57b207e38d414a27fda9fff638a0d3e7ef16b917 (patch)
tree70e4e689ed371f0bdccba1cf6e8d6209266afde8 /tools/perf/scripts/python
parent86133fb1ec36b2f5cec29d71fbae84877c3a1358 (diff)
iio: adc: ade9000: fix wrong return type in streaming push
The else branch of ade9000_iio_push_streaming() incorrectly returns IRQ_HANDLED on regmap_write failure. This function returns int (0 on success, negative errno on failure), so IRQ_HANDLED (1) would be misinterpreted as a non-error by callers. Return ret instead, consistent with every other error path in the function. Fixes: 81de7b4619fc ("iio: adc: add ade9000 support") Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> Reviewed-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions