diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2012-12-13 20:07:12 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-06 16:26:24 -0500 |
commit | a68aac4947bf8dfd429267561ddf438fab2561ec (patch) | |
tree | 7447b5671c5eab6bf181cf96492a37217a6b3c80 /drivers/mmc/s5p_sdhci.c | |
parent | 1f4ca2547c9a3bdaf1e592a08370cba2b139471b (diff) | |
download | u-boot-imx-a68aac4947bf8dfd429267561ddf438fab2561ec.zip u-boot-imx-a68aac4947bf8dfd429267561ddf438fab2561ec.tar.gz u-boot-imx-a68aac4947bf8dfd429267561ddf438fab2561ec.tar.bz2 |
mmc: sdhci: return error when failed add_sdhci().
If failed the add_host(), it is reasonable that return value of
add_sdhci().
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/mmc/s5p_sdhci.c')
-rw-r--r-- | drivers/mmc/s5p_sdhci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c index dc49d37..e50ff92 100644 --- a/drivers/mmc/s5p_sdhci.c +++ b/drivers/mmc/s5p_sdhci.c @@ -94,6 +94,5 @@ int s5p_sdhci_init(u32 regbase, int index, int bus_width) host->host_caps = MMC_MODE_HC; - add_sdhci(host, 52000000, 400000); - return 0; + return add_sdhci(host, 52000000, 400000); } |