Skip to content
Commit d7b819b5 authored by Zhihao Cheng's avatar Zhihao Cheng Committed by Ulf Hansson
Browse files

mmc: pxamci: Fix error return code in pxamci_probe



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

Fixes: f54005b5 ("mmc: pxa: Use GPIO descriptor for power")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Link: https://lore.kernel.org/r/20201121021431.3168506-1-chengzhihao1@huawei.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c5b1c6dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment