projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8005f25
)
MLK-13859: video: mxc: mipi dsi: don't print errors on EPROBE_DEFER
author
Octavian Purdila
<octavian.purdila@nxp.com>
Fri, 3 Feb 2017 13:41:08 +0000
(15:41 +0200)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:09 +0000
(14:58 -0500)
The device may fail to reset with EPROBE_DEFER because of the
initialization order between the mipi and the mipi gpio reset
drivers. This is not an error, since the probe will be later retried
and eventually will succeed.
Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
drivers/video/fbdev/mxc/mipi_dsi.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxc/mipi_dsi.c
b/drivers/video/fbdev/mxc/mipi_dsi.c
index
3e78a53
..
d17d19a
100644
(file)
--- a/
drivers/video/fbdev/mxc/mipi_dsi.c
+++ b/
drivers/video/fbdev/mxc/mipi_dsi.c
@@
-872,7
+872,8
@@
static int mipi_dsi_probe(struct platform_device *pdev)
ret = device_reset(&pdev->dev);
if (ret) {
- dev_err(&pdev->dev, "failed to reset: %d\n", ret);
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "failed to reset: %d\n", ret);
goto dev_reset_fail;
}