
1 Nov
2019
1 Nov
'19
2:31 p.m.
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@ti.com Fixes: 8e51c0f254 ("dm: gpio: Add DM compatibility to GPIO driver for Davinci") Signed-off-by: Keerthy j-keerthy@ti.com
Applied to u-boot/master, thanks!
--
Tom