
27 Jul
2023
27 Jul
'23
7:55 a.m.
чт, 20 лип. 2023 р. о 00:21 Jonas Karlman jonas@kwiboo.se пише:
With the commit 4fcba5d556b4 ("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
drivers/mmc/mmc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Tested-by: Svyatoslav Ryhel clamor95@gmail.com # P895 Tegra 3; Tegratab Tegra 4