[U-Boot] [PATCH] gpio: da8xx_gpio: Fix the _gpio_direction_output function

Tom Rini trini at konsulko.com
Fri Nov 1 13:31:35 UTC 2019

On Thu, Oct 24, 2019 at 01:52:28PM +0530, Keerthy wrote:

> _gpio_direction_output function currently calls gpio_set_value
> with the wrong gpio number. gpio_set_value in the uclass driver
> expects a different gpio number and the _gpio_direction_output
> is currently providing the number specific to the bank.
> Hence fix it by calling the _gpio_set_value function instead.
> Reported-by: Faiz Abbas <faiz_abbas at ti.com>
> Fixes: 8e51c0f254 ("dm: gpio: Add DM compatibility to GPIO driver for Davinci")
> Signed-off-by: Keerthy <j-keerthy at ti.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191101/2ab0a3ab/attachment.sig>

More information about the U-Boot mailing list