mmc: au1xmmc: fix error return code in au1xmmc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 14 Aug 2014 01:00:19 +0000 (09:00 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:01 +0000 (13:59 +0200)
commitee9d19d42c6b30e464a4c748654582fc6b3ff853
tree97619c9385ff4566f74193586f21cc3234413d94
parent2aa354650a8b024a507f5b0fd969b7cfa3848620
mmc: au1xmmc: fix error return code in au1xmmc_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/au1xmmc.c