projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6478f4e
)
mmc: davinci: suppress error message on EPROBE_DEFER
author
David Lechner
<david@lechnology.com>
Sun, 21 Jan 2018 20:28:13 +0000
(14:28 -0600)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 22 Jan 2018 07:21:56 +0000
(08:21 +0100)
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>
drivers/mmc/host/davinci_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/davinci_mmc.c
b/drivers/mmc/host/davinci_mmc.c
index
c5309cc
..
8e36317
100644
(file)
--- a/
drivers/mmc/host/davinci_mmc.c
+++ b/
drivers/mmc/host/davinci_mmc.c
@@
-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 {