Skip to content
Commit 43fc99f2 authored by Mark Brown's avatar Mark Brown
Browse files

regulator: core: Only propagate voltage changes to if it can change voltages



When we are propagating voltage changes to parent regulators don't
bother if the parent does not have permission to change voltages.  This
simplifies error checking in the function for cases where the regulator
lacks some of the voltage operations.

Reported-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Tested-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fd086045
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment