mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-11 03:28:39 +01:00
imx: Return gpio_set_value in gpio_direction_output
Return gpio_set_value in gpio_direction_output. Earlier it returned 0 and ignored gpio_set_value's return value. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
be28255462
commit
d71c9c9fc0
1 changed files with 1 additions and 2 deletions
|
|
@ -145,6 +145,5 @@ int gpio_direction_output(unsigned gpio, int value)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
gpio_set_value(gpio, value);
|
||||
return 0;
|
||||
return gpio_set_value(gpio, value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue