summaryrefslogtreecommitdiff
path: root/include/usb/ehci-fsl.h
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 /include/usb/ehci-fsl.h
parent44b9841d7898a03e73b5054f56303514a5b35db8 (diff)
downloadu-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.zip
u-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.tar.gz
u-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.tar.bz2
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 'include/usb/ehci-fsl.h')
0 files changed, 0 insertions, 0 deletions