Re: [U-Boot] [PATCH] mx53loco: Remove unneeded gpio_set_value()

2012-05-09 Thread Stefano Babic
On 07/05/2012 22:42, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need to set the VBUS power enable to 0 first and then to 1. > > Set it to 1 in the gpio_direction_output() function. > > While at it, use the standard naming convention for the GPIO comment. > > Signed-off-by: Fabi

[U-Boot] [PATCH] mx53loco: Remove unneeded gpio_set_value()

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam There is no need to set the VBUS power enable to 0 first and then to 1. Set it to 1 in the gpio_direction_output() function. While at it, use the standard naming convention for the GPIO comment. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |5 +