Re: [U-Boot] [PATCH v2 3/6] power: as3722: fix ldo_get/set_enable for ldo index bigger than 7

2017-08-13 Thread Simon Glass
On 8 August 2017 at 06:42, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > 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 >

[U-Boot] [PATCH v2 3/6] power: as3722: fix ldo_get/set_enable for ldo index bigger than 7

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler 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 o