]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exynos: Correct return value in exynos_mmc_init()
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:16:12 +0000 (18:16 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 03:06:14 +0000 (21:06 -0600)
This function should return 0 on success, not 1. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/s5p_sdhci.c

index 8e1968a4eadd74dd984939656305c32fe2805074..522eab9bbfc4ac0d5edbf0d45a84209a43693128 100644 (file)
@@ -202,6 +202,6 @@ int exynos_mmc_init(const void *blob)
 
        process_nodes(blob, node_list, count);
 
-       return 1;
+       return 0;
 }
 #endif