commit | 8282094046417e3dfb7d922f1bf347aa3c1ca85d | [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 | 42a73d369e915c4ba3deabc2c4a1d4974608ee7b [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>