commit | 593d0c8e5e22fbc316a8f2e677f7d22d892f6226 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu Nov 06 12:24:24 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Thu Nov 13 18:06:13 2014 +0100 |
tree | 028e18de115b00124bd52e73a11aca7c87b05653 | |
parent | 84c6af840e6de72b81842f89f03a3d74eeb53254 [diff] |
mx6sabresd: 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. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>