commit | 1769502b5333c209fa60c7eb821be9ce475ef193 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Sat Nov 15 14:50:27 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Thu Nov 20 10:30:20 2014 +0100 |
tree | 13d2ecbdf4dbed6ba8884d46b0bd1048d1d46477 | |
parent | 05beb8e012e8715f551d1fb2f2fa149f2a7dc06a [diff] |
mx53loco: 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>