Re: [U-Boot] [PATCH] power: regulator: fixed: set gpio direction before set value

2016-03-13 Thread Peng Fan
Hi Simon, On Sat, Mar 12, 2016 at 07:51:51PM -0700, Simon Glass wrote: >Hi Peng, > >On 11 March 2016 at 22:19, Peng Fan wrote: >> Before set value for a gpio, need to set its direction to >> output first. >> >> Signed-off-by: Peng Fan >> Cc: Przemyslaw Marczak >> Cc: Simon Glass >> --- >> dri

Re: [U-Boot] [PATCH] power: regulator: fixed: set gpio direction before set value

2016-03-12 Thread Simon Glass
Hi Peng, On 11 March 2016 at 22:19, Peng Fan wrote: > Before set value for a gpio, need to set its direction to > output first. > > Signed-off-by: Peng Fan > Cc: Przemyslaw Marczak > Cc: Simon Glass > --- > drivers/power/regulator/fixed.c | 5 + > 1 file changed, 5 insertions(+) > > diff

[U-Boot] [PATCH] power: regulator: fixed: set gpio direction before set value

2016-03-11 Thread Peng Fan
Before set value for a gpio, need to set its direction to output first. Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Simon Glass --- drivers/power/regulator/fixed.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c