]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc688dc09737c3e47b95f5a17959e2f6ebdb9226
tree97619c9385ff4566f74193586f21cc3234413d94
parent6f55abc3af91cbb15b88fb50c601928fe9d9be33
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