commit | 2a544ac2af4e377b18a1ca46d2944be5ab9cead9 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Nov 21 16:42:56 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Nov 24 12:10:18 2014 +0100 |
tree | f5ea53472b322f636c1c2efaaa75c88c50eec87f | |
parent | b5c9ed3e4d1b137792a3b9dc06111be6bb201b51 [diff] |
ot1200: 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: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>