Skip to content

Commit

Permalink
mmc: sdhci_am654: Use dev_err_probe() for mmc_of_parse() return code
Browse files Browse the repository at this point in the history
Checking phandle references like mmc-pwrseq can result in -EPROBE_DEFER.

Signed-off-by: Matthias Schiffer <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
tq-schifferm authored and storulf committed Dec 7, 2022
1 parent dc4e9e2 commit 654993b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/sdhci_am654.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 654993b

Please sign in to comment.