summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mx27
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-21 16:42:56 -0200
committerStefano Babic <sbabic@denx.de>2014-11-24 12:10:18 +0100
commite37197acad30928b434c54842642b11ce5f3639b (patch)
treef5ea53472b322f636c1c2efaaa75c88c50eec87f /arch/arm/cpu/arm926ejs/mx27
parent44b9841d7898a03e73b5054f56303514a5b35db8 (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>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx27')
0 files changed, 0 insertions, 0 deletions