Files
u-boot/drivers
Axel Lin b0c4ae1a51 mmc: sunxi: Fix misuse of gpio_direction_input()
It does not make sense to make gpio_direction_input() return the gpio input
status. The return value of gpio_direction_input() is inconsistent if
CONFIG_DM_GPIO is defined.
And we don't need to call gpio_direction_input() int sunxi_mmc_getcd().
Just init the gpio once in mmc_resource_init() is enough.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
2015-01-14 14:56:36 +01:00
..
2014-09-24 18:30:29 -04:00
2014-09-24 18:30:28 -04:00
2015-01-08 11:00:45 -05:00
2015-01-13 07:25:00 -08:00
2015-01-05 12:08:55 -05:00
2014-09-24 18:30:28 -04:00
2015-01-09 00:03:28 +05:30
2014-12-31 19:10:13 +01:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00