Skip to content
Snippets Groups Projects
Commit 80b9882a authored by Hugh Cole-Baker's avatar Hugh Cole-Baker Committed by Kever Yang
Browse files

rockchip: boot_mode: find the saradc device name


adc_channel_single_shot() requires the full device name e.g.
"saradc@ff100000", which differs between Rockchip SoC's, but they all
share the prefix "saradc"; find the ADC device with this name prefix and
use its full name.

Signed-off-by: default avatarHugh Cole-Baker <sigmaris@gmail.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent a30c6894
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment