[U-Boot] [PATCH v3 2/4] exynos: Fix passing of errors in exynos_mmc_init()

Minkyu Kang
2015-10-13T11:52:04Z

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@samsung.com>
> Signed-off-by: Tobias Jakobi <tjakobi@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.