]> Git Repo - u-boot.git/commit
rockchip: adc: rockchip-saradc: factor out stop callback
authorQuentin Schulz <[email protected]>
Thu, 14 Mar 2024 09:36:23 +0000 (10:36 +0100)
committerKever Yang <[email protected]>
Thu, 14 Mar 2024 10:19:44 +0000 (18:19 +0800)
commitd63c57e104fd3ae37108fb4d502d41d7380770ee
tree1985f8a1f1b4e24a0d356f8e4ff81fbb91a63ec9
parent257752551229f04567ac6ddde651b407c8c74e8f
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 <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
drivers/adc/rockchip-saradc.c
This page took 0.049504 seconds and 4 git commands to generate.