mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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 <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
committed by
Ulf Hansson
parent
dc4e9e2aa8
commit
654993b3e1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user