diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-23 02:09:13 +0000 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-01-24 13:51:07 +0100 |
commit | 310eb252a78307fc2ac4c4c755290a578c0304d0 (patch) | |
tree | 982abfab0d18ad09ae641965ad601efeb412b336 /drivers/mmc/host/Kconfig | |
parent | f9de65fc61b51398cafb2e4db5cc787704fc49a1 (diff) | |
download | op-kernel-dev-310eb252a78307fc2ac4c4c755290a578c0304d0.zip op-kernel-dev-310eb252a78307fc2ac4c4c755290a578c0304d0.tar.gz |
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: f9bb304ce855 ("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>
Diffstat (limited to 'drivers/mmc/host/Kconfig')
0 files changed, 0 insertions, 0 deletions