On 23.09.2016 12:14, Jaehoon Chung wrote:
Use the generic error number instead of meaningless value.
Signed-off-by: Jaehoon Chung <jh80.ch...@samsung.com>
---
drivers/mmc/kona_sdhci.c | 6 +++---
drivers/mmc/mv_sdhci.c | 2 +-
drivers/mmc/s5p_sdhci.c | 8 ++++----
drivers/mmc/sdhci.c | 12 ++++++------
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c
index 0c4f30e..71c06b1 100644
--- a/drivers/mmc/kona_sdhci.c
+++ b/drivers/mmc/kona_sdhci.c
@@ -27,7 +27,7 @@ static int init_kona_mmc_core(struct sdhci_host *host)
if (sdhci_readb(host, SDHCI_SOFTWARE_RESET) & SDHCI_RESET_ALL) {
printf("%s: sd host controller reset error\n", __func__);
- return 1;
+ return -;
You probably missed something here.
Thanks,
Stefan
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot