diff options
| author | Jonas Karlman <[email protected]> | 2023-07-19 21:20:57 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-14 09:14:41 -0400 |
| commit | 0830333c474379e0249c07fb15c5fe80880fcd36 (patch) | |
| tree | a62dbee74f282656668c34c679d196461efb8813 /include/linux/stringify.h | |
| parent | 335799b7252a1d9125bf9565119d771b8599b6b3 (diff) | |
usb: ehci-generic: 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.
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
