projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa66f5
)
OMAPDSS: TFP410: return EPROBE_DEFER if the i2c adapter not found
author
Tomi Valkeinen
<
[email protected]
>
Mon, 29 Apr 2013 10:08:32 +0000
(13:08 +0300)
committer
Tomi Valkeinen
<
[email protected]
>
Thu, 2 May 2013 09:25:44 +0000
(12:25 +0300)
If the I2C adapter needed by the TFP410 device is not available yet,
return EPROBE_DEFER so that the device will get probed again.
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/video/omap2/displays/panel-tfp410.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/displays/panel-tfp410.c
b/drivers/video/omap2/displays/panel-tfp410.c
index a1dba868cef107bf4158f7f11b35e510b23268fe..46039c4bf1ed0d8b2f7f8f238a7a7b1c62081ccd 100644
(file)
--- a/
drivers/video/omap2/displays/panel-tfp410.c
+++ b/
drivers/video/omap2/displays/panel-tfp410.c
@@
-135,7
+135,7
@@
static int tfp410_probe(struct omap_dss_device *dssdev)
if (!adapter) {
dev_err(&dssdev->dev, "Failed to get I2C adapter, bus %d\n",
i2c_bus_num);
- return -E
INVAL
;
+ return -E
PROBE_DEFER
;
}
ddata->i2c_adapter = adapter;