Re: [PATCH 2/2] regulator: s2mps11: Don't check enable_shift before setting enable ramp rate

2014-04-02 Thread Mark Brown
On Fri, Mar 21, 2014 at 04:16:24PM +0800, Axel Lin wrote: > Current code misses updating the register when enable_shift is 0. > e.g. S2MPS11_BUCK9_RAMP_SHIFT and S2MPS11_BUCK6_RAMP_EN_SHIFT are 0. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 2/2] regulator: s2mps11: Don't check enable_shift before setting enable ramp rate

2014-04-01 Thread Krzysztof Kozlowski
On Fri, 2014-03-21 at 16:16 +0800, Axel Lin wrote: > Current code misses updating the register when enable_shift is 0. > e.g. S2MPS11_BUCK9_RAMP_SHIFT and S2MPS11_BUCK6_RAMP_EN_SHIFT are 0. > > Signed-off-by: Axel Lin > --- > drivers/regulator/s2mps11.c | 12 +--- > 1 file changed, 5 ins

[PATCH 2/2] regulator: s2mps11: Don't check enable_shift before setting enable ramp rate

2014-03-21 Thread Axel Lin
Current code misses updating the register when enable_shift is 0. e.g. S2MPS11_BUCK9_RAMP_SHIFT and S2MPS11_BUCK6_RAMP_EN_SHIFT are 0. Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/regulator/s2mps1