mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
mmc: davinci: suppress error message on EPROBE_DEFER
This suppresses printing an error message during probe of the TI DaVinci MMC driver when the error is EPROBE_DEFER. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
6478f4e12b
commit
f9de65fc61
@ -1253,8 +1253,9 @@ static int davinci_mmcsd_probe(struct platform_device *pdev)
|
|||||||
pdev->id_entry = match->data;
|
pdev->id_entry = match->data;
|
||||||
ret = mmc_of_parse(mmc);
|
ret = mmc_of_parse(mmc);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(&pdev->dev,
|
if (ret != -EPROBE_DEFER)
|
||||||
"could not parse of data: %d\n", ret);
|
dev_err(&pdev->dev,
|
||||||
|
"could not parse of data: %d\n", ret);
|
||||||
goto parse_fail;
|
goto parse_fail;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user