forked from Minki/linux
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;
|
||||
ret = mmc_of_parse(mmc);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev,
|
||||
"could not parse of data: %d\n", ret);
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(&pdev->dev,
|
||||
"could not parse of data: %d\n", ret);
|
||||
goto parse_fail;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user