mmc: mmci: fix error return code in mmci_probe()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: f9bb304c ("mmc: mmci: Add support for setting pad type via pinctrl") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com> Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Showing
想要评论请 注册 或 登录