1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-27 11:44:41 +01:00
Files
u-boot-megous/drivers
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
..
2023-05-21 16:54:41 +02:00
2023-02-10 07:41:39 -05:00
2021-10-05 08:50:15 -04:00
2023-05-02 14:23:58 -04:00
2023-07-21 09:00:39 +02:00
2022-01-13 07:57:49 -05:00
2023-03-02 17:45:58 -05:00
2023-08-08 17:41:52 -04:00
2023-01-20 12:27:24 -05:00
2023-04-21 15:16:01 +08:00
2023-08-03 09:40:49 -04:00
2023-04-25 15:31:28 -04:00