[U-Boot] [PATCH v3 2/4] exynos: Fix passing of errors in exynos_mmc_init()
Minkyu Kang
mk7.kang at samsung.com
Tue Oct 13 13:52:04 CEST 2015
On 05/10/15 20:47, Tobias Jakobi wrote:
> exynos_mmc_init() always returns zero, so for the caller
> it looks like it never fails.
>
> Correct this by returning the error code of process_nodes().
> For process_nodes() do something similar and return early
> when do_sdhci_init() fails.
>
> v2: Only fail in process_nodes() if we fail on all
> available nodes.
>
> Acked-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
> ---
> drivers/mmc/s5p_sdhci.c | 18 ++++++++++++------
> 1 file changed, 12 insertions(+), 6 deletions(-)
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
More information about the U-Boot
mailing list