u-boot/drivers/adc
Jonas Karlman d82cbc596e adc: Use regulator_set_enable_if_allowed
With the commit 4fcba5d556 ("regulator: implement basic reference
counter") the return value of regulator_set_enable may be EALREADY or
EBUSY for fixed/gpio regulators.

Change to use the more relaxed regulator_set_enable_if_allowed to
continue if regulator already was enabled or disabled.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>  # rockpro64-rk3399
2023-08-14 09:14:41 -04:00
..
adc-uclass.c adc: Use regulator_set_enable_if_allowed 2023-08-14 09:14:41 -04:00
exynos-adc.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
imx93-adc.c dm: adc: add iMX93 ADC support 2023-07-13 11:29:40 +02:00
Kconfig dm: adc: add iMX93 ADC support 2023-07-13 11:29:40 +02:00
Makefile dm: adc: add iMX93 ADC support 2023-07-13 11:29:40 +02:00
meson-saradc.c adc: meson-saradc: add AXG variant 2022-04-25 09:25:00 +02:00
rockchip-saradc.c rockchip: adc: rockchip-saradc: use dev_read_addr_ptr 2023-05-06 17:28:18 +08:00
sandbox.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
stm32-adc-core.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
stm32-adc-core.h adc: Drop dm.h header file 2020-08-03 22:19:54 -04:00
stm32-adc.c adc: stm32mp15: add calibration support 2023-01-12 16:25:51 +01:00