commit | e48f038ee33c670db6c3d0fc6d07541330e1a07d | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu Nov 20 16:35:16 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri Nov 21 16:47:54 2014 +0100 |
tree | 5486986782265a155d7b783c49aa00bda1d4059c | |
parent | 1cad2c229038efd7d459aee1d2e7aa5b08f95d8e [diff] |
mx51evk: 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>