uboot/drivers/mmc
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
..
Kconfig
Makefile
arm_pl180_mmci.c
arm_pl180_mmci.h
bcm2835_sdhci.c
bfin_sdh.c
davinci_mmc.c
dw_mmc.c mmc: dw_mmc: Use active DDR mode flag 2014-12-12 21:09:01 +02:00
exynos_dw_mmc.c mmc: exynos_dw-mmc: change debug message 2014-12-12 20:35:30 +02:00
fsl_esdhc.c Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2014-11-26 11:22:29 -05:00
fsl_esdhc_spl.c
ftsdc010_mci.c
ftsdc021_sdhci.c
gen_atmel_mci.c
kona_sdhci.c
mmc.c mmc: Fix block length for DDR mode 2014-12-12 21:08:38 +02:00
mmc_private.h
mmc_spi.c
mmc_write.c
mv_sdhci.c
mvebu_mmc.c MVEBUMMC : REMOVE unnecessary delay from init 2015-01-06 10:10:28 +02:00
mxcmmc.c
mxsmmc.c
omap_hsmmc.c omap_hsmmc: Board-specific TWL4030 MMC power initializations 2014-12-04 21:28:15 -05:00
pxa_mmc_gen.c
rpmb.c
s3c_sdi.c
s5p_sdhci.c
sdhci.c
sh_mmcif.c mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_mmcif.h mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
socfpga_dw_mmc.c
spear_sdhci.c
sunxi_mmc.c mmc: sunxi: Fix misuse of gpio_direction_input() 2015-01-14 14:56:36 +01:00
tegra_mmc.c
zynq_sdhci.c