commit | 522f05931e8d8442daf5debfa3cabd1d0c7176ad | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Sat Nov 15 14:50:26 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Thu Nov 20 10:30:19 2014 +0100 |
tree | 2a8b11b6c0ce048cf58fd7f15bad907e98a08683 | |
parent | 245644dd0721bc4dfaa6953aa747db47230d6c4e [diff] |
wandboard: 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>