mmc: dw_mmc: fix error return code in dw_mci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 19 Apr 2013 01:25:45 +0000 (09:25 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:13 +0000 (14:23 -0400)
commitef7aef9ab41d9aa95e9c2e2fdd4b5dbbf890f1d7
tree7d59b620b6b677e541b7d6142628028b902781e0
parent775a9362b5d7e006ff6bbec5cb9c9c9d5a751696
mmc: dw_mmc: fix error return code in dw_mci_probe()

Fix to return -ENOMEM in alloc workqueue error case instead
of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c