On 8 August 2017 at 06:42, Marcel Ziswiler <mar...@ziswiler.com> wrote:
> From: Marcel Ziswiler <marcel.ziswi...@toradex.com>
>
> Fix ldo_get_enable() and ldo_set_enable() functions for LDOs with an
> index > 7. Turns out there are actually two separate AS3722_LDO_CONTROL
> registers AS3722_LDO_CONTROL0 and AS3722_LDO_CONTROL1. Actually make use
> of both. While at it also actually use the enable parameter of the
> ldo_set_enable() function which now truly allows disabling as opposed to
> only enabling LDOs.
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswi...@toradex.com>
> ---
>
> Changes in v2:
> - New bug fix.
>
>  drivers/power/regulator/as3722_regulator.c | 16 ++++++++++++++--
>  include/power/as3722.h                     |  3 ++-
>  2 files changed, 16 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to