commit | 80b9882a6e666fe7edd7fe3e821ae6e8188fb126 | [log] [tgz] |
---|---|---|
author | Hugh Cole-Baker <sigmaris@gmail.com> | Sat Jan 25 16:19:36 2020 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Wed Feb 19 16:45:38 2020 +0800 |
tree | fb61438e799915c4efe4e27baf19b6e0dacbd15f | |
parent | a30c68945cadc6aada3f05a6864627f3ca9d6bde [diff] |
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: Hugh Cole-Baker <sigmaris@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>