commit | b7db8d3b4e567b9c7c4670e0728fc65907139987 | [log] [tgz] |
---|---|---|
author | Jonas Karlman <jonas@kwiboo.se> | Thu Oct 17 20:00:25 2024 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Sat Oct 26 10:46:48 2024 +0800 |
tree | 570cdfdacfb53c220ee015dbfa0c46959561eb30 | |
parent | 8d2abf6a9d4054a14645634839bc1f4236970506 [diff] |
adc: Allow use of adc with DM_REGULATOR disabled When DM_REGULATOR=n is used the device_get_supply_regulator() function always return -ENOSYS. Change to treat missing support for regulators as a missing optional vdd/vss-supply regulator to reduce error messages being logged. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>