Commit 0c5ce16b authored by Wei Yongjun's avatar Wei Yongjun Committed by Chris Ball
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent ef7aef9a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment