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 <[email protected]>
> Signed-off-by: Tobias Jakobi <[email protected]>
> ---
>  drivers/mmc/s5p_sdhci.c | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to