diff options
| author | Simon Glass <[email protected]> | 2024-06-27 09:29:46 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-06-28 13:54:52 -0600 |
| commit | ac91baea6d8292295aeb63c40ec4261d7c47217e (patch) | |
| tree | 8b030abdbcd3658c7338c4fba5c31926f2d9bc38 /scripts/checkpatch.pl | |
| parent | bbc46241a19dcdc10ba88adb2eaf076e6ac4cb0e (diff) | |
power: regulator: Handle autoset in regulators_enable_boot_on()
With a recent change, regulators_enable_boot_on() returns an error if a
regulator is already set. Check for and handle this situation.
Fixes: d99fb64a98a power: regulator: Only run autoset once for each regulator
Reviewed-by: Jonas Karlman <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Reviewed-by: Jonas Karlman <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
