Re: [PATCH 1/2] regulator: core: Only propagate voltage changes to if it can change voltages

From: Dong Aisheng
Date: Fri Apr 14 2017 - 09:44:05 EST


On Thu, Apr 13, 2017 at 07:03:15PM +0100, Mark Brown wrote:
> 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: Dong Aisheng <aisheng.dong@xxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
>
> Untested.
>

Thanks for the fix.

Tested-by: Dong Aisheng <aisheng.dong@xxxxxxx>
Reviewed-by: Dong Aisheng <aisheng.dong@xxxxxxx>

Regards
Dong Aisheng