commit | 257752551229f04567ac6ddde651b407c8c74e8f | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | Thu Mar 14 10:36:22 2024 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Thu Mar 14 18:19:44 2024 +0800 |
tree | 68e4927e4868d65efaf3136bc01d58905c0ed5ce | |
parent | 7da3065afdc810d37344dc8bda1bb74e79a742c5 [diff] |
rockchip: adc: rockchip-saradc: factor out start_channel callback SARADC v1 and v2 have a different way of starting a channel, 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>