[U-Boot] [PATCH] dm: i2c-gpio: Remove redundant dm_gpio_set_value() call
Simon Glass
sjg at chromium.org
Tue May 5 05:16:41 CEST 2015
On 27 April 2015 at 21:20, Simon Glass <sjg at chromium.org> wrote:
> On 25 April 2015 at 21:05, Axel Lin <axel.lin at ingics.com> wrote:
>> dm_gpio_set_dir_flags() will also set gpio output value when switching to
>> gpio output. So it's not necessary to call dm_gpio_set_value() after
>> dm_gpio_set_dir_flags() call.
>>
>> Signed-off-by: Axel Lin <axel.lin at ingics.com>
>> ---
>> drivers/i2c/i2c-gpio.c | 13 +++++++------
>> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list