commit | 12b043c2b32aa21a7474f9a2e2f7f17af05e7fab | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Nov 21 16:42:58 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Nov 24 12:10:18 2014 +0100 |
tree | 2382aa2847e8e5777c63d935f7a773c7f6cb1314 | |
parent | 2cf207f277e57db5b5870667ad076d34f797d16c [diff] |
mx6boards: 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. Cc: Eric Benard <eric@eukrea.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>