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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:41 +0000 (11:43 +0900)
commit5979da9baf4695099845219c470aad85bfa59366
tree5ee9371552ad917b2879b4807548caf406ffc6af
parent45f34c487af17767f5c296ffeba923782b4f7b27
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