diff options
author | Soeren Moch <smoch@web.de> | 2014-11-20 13:03:32 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-21 15:16:18 +0100 |
commit | 02a32a92d4a123c75292a284bdc605c376d204f7 (patch) | |
tree | 759228d89a0a260eaf3f52b4ca5ec85ebd96595f /arch/arm | |
parent | 593243d3a2aed5a05ead6dc6369b1bd08010d8bc (diff) | |
download | u-boot-imx-02a32a92d4a123c75292a284bdc605c376d204f7.zip u-boot-imx-02a32a92d4a123c75292a284bdc605c376d204f7.tar.gz u-boot-imx-02a32a92d4a123c75292a284bdc605c376d204f7.tar.bz2 |
tbs2910: Fix error handling in board_mmc_init()
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard
Signed-off-by: Soeren Moch <smoch@web.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions