Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: f9bb304 ("mmc: mmci: Add support for setting pad type via pinctrl") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
- Loading branch information