commit | 2cf207f277e57db5b5870667ad076d34f797d16c | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Nov 21 16:42:57 2014 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Nov 24 12:10:18 2014 +0100 |
tree | f1e03aac58b2fde7d74d6846a0291c0c00ecd22b | |
parent | 2a544ac2af4e377b18a1ca46d2944be5ab9cead9 [diff] |
nitrogen6x: 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 Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>