]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: stm32-dfsdm: Factor out core of reading INFO_RAW
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Feb 2025 14:16:07 +0000 (14:16 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Mar 2025 13:17:48 +0000 (13:17 +0000)
commit728341b0ca4dd2442e9f653cfb27b484fb665df7
tree1d86dda79dc8b41454626e7f3548fc486953faf1
parentd531b9f78949533691bf72d95e3af14b657047d9
iio: adc: stm32-dfsdm: Factor out core of reading INFO_RAW

This allows the claim on direct mode to be release in one place
rather than a lot of error paths, simplifying code.

Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://patch.msgid.link/20250217141630.897334-8-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-dfsdm-adc.c