Skip to content
Commit d63c57e1 authored by Quentin Schulz's avatar Quentin Schulz Committed by Kever Yang
Browse files

rockchip: adc: rockchip-saradc: factor out stop callback



SARADC v2 doesn't have a stop mechanism once in single mode. In series
conversion, the logic is different anyway. Therefore, let's abstract
this function so that it can be provided from the udevice.data pointer.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
Signed-off-by: default avatarQuentin Schulz <quentin.schulz@theobroma-systems.com>
parent 25775255
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment