commit | daab7d9bb3506c73f4637c0e695919f380dcf8dd | [log] [tgz] |
---|---|---|
author | Svyatoslav Ryhel <clamor95@gmail.com> | Tue Oct 03 09:25:34 2023 +0300 |
committer | Anatolij Gustschin <agust@denx.de> | Sun Oct 22 19:28:31 2023 +0200 |
tree | b0a1a50a382bc0f3352ecce54284b4ca19ddf5bc | |
parent | a085c73e6800ae649c3769f4d57326287592c7c9 [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>