diff options
author | Svyatoslav Ryhel <clamor95@gmail.com> | 2023-10-03 09:25:34 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2023-10-22 19:28:31 +0200 |
commit | 846dcae7337e25d1608c891fb68ce4227bc6b710 (patch) | |
tree | b0a1a50a382bc0f3352ecce54284b4ca19ddf5bc /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | 66ac14f7ef974e5d9404ff9b354590554e405409 (diff) |
video: tegra20: dsi: use regulator_set_enable_if_allowed
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 and may be further expanded on all
regulators.
Change to use the more relaxed regulator_set_enable_if_allowed to
continue if regulator already was enabled or disabled.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions