diff options
author | Keerthy <j-keerthy@ti.com> | 2019-10-24 13:52:28 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-30 17:48:47 -0400 |
commit | 3135022cb4db37ccf7691b03f6a99cfe6afb878d (patch) | |
tree | e415d206110c4961dba151248728c097a9712675 /drivers/mmc/dw_mmc.c | |
parent | 15579631bc6b644eb504b1d9503174bd06b93439 (diff) | |
download | u-boot-3135022cb4db37ccf7691b03f6a99cfe6afb878d.tar.gz |
gpio: da8xx_gpio: Fix the _gpio_direction_output function
_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>
Diffstat (limited to 'drivers/mmc/dw_mmc.c')
0 files changed, 0 insertions, 0 deletions