commit | e8e0aae598486cfe61d720fc948f0f75e1a869c3 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | Thu Mar 14 10:36:23 2024 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Thu Mar 14 18:19:44 2024 +0800 |
tree | 1985f8a1f1b4e24a0d356f8e4ff81fbb91a63ec9 | |
parent | d0aaaae20e1947bfe6d2656f5469f8b2e22ed25e [diff] |
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: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>