summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2022-11-01 11:52:42 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2022-12-07 13:22:34 +0100
commit654993b3e1eb7ce22e5d5bf5df95730c3fb7013a (patch)
treebe7a89321e73cc028e5213ab6ee11be827b070bf /drivers
parentdc4e9e2aa82a697ff1fccf6dbdd9f648afc7d71a (diff)
downloadlinux-stable-654993b3e1eb7ce22e5d5bf5df95730c3fb7013a.tar.gz
linux-stable-654993b3e1eb7ce22e5d5bf5df95730c3fb7013a.tar.bz2
linux-stable-654993b3e1eb7ce22e5d5bf5df95730c3fb7013a.zip
mmc: sdhci_am654: Use dev_err_probe() for mmc_of_parse() return code
Checking phandle references like mmc-pwrseq can result in -EPROBE_DEFER. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20221101105242.2019036-1-matthias.schiffer@ew.tq-group.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sdhci_am654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
index c2333c7acac9..7ef828942df3 100644
--- a/drivers/mmc/host/sdhci_am654.c
+++ b/drivers/mmc/host/sdhci_am654.c
@@ -836,7 +836,7 @@ static int sdhci_am654_probe(struct platform_device *pdev)
ret = mmc_of_parse(host->mmc);
if (ret) {
- dev_err(dev, "parsing dt failed (%d)\n", ret);
+ dev_err_probe(dev, ret, "parsing dt failed\n");
goto pm_runtime_put;
}