mmc: mxs-mmc: fix error return code in mxs_mmc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 19 Apr 2013 02:11:11 +0000 (10:11 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:14 +0000 (14:23 -0400)
commit0c5ce16bc11ae3b80d2e3f6caf4483162acb1f62
tree7d6cecd4221edd76e680d71f5dee9b0c4f395f62
parentef7aef9ab41d9aa95e9c2e2fdd4b5dbbf890f1d7
mmc: mxs-mmc: fix error return code in mxs_mmc_probe()

Fix to return -ENODEV in the request dma error case instead
of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c