1
0
Fork 0
alistair23-linux/drivers/mmc
Zhihao Cheng e39908568b mmc: pxamci: Fix error return code in pxamci_probe
[ Upstream commit d7b819b5d3 ]

Fix to return the error code from devm_gpiod_get_optional() instaed
of 0 in pxamci_probe().

Fixes: f54005b508 ("mmc: pxa: Use GPIO descriptor for power")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Link: https://lore.kernel.org/r/20201121021431.3168506-1-chengzhihao1@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:11 +01:00
..
core mmc: block: Fixup condition for CMD13 polling for RPMB requests 2020-12-16 10:56:58 +01:00
host mmc: pxamci: Fix error return code in pxamci_probe 2020-12-30 11:51:11 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00