projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289c259
)
media: ov2740: Return -EPROBE_DEFER if no endpoint is found
author
Sakari Ailus
<sakari.ailus@linux.intel.com>
Fri, 8 Sep 2023 09:56:16 +0000
(12:56 +0300)
committer
Hans Verkuil
<hverkuil-cisco@xs4all.nl>
Sat, 7 Oct 2023 08:55:48 +0000
(10:55 +0200)
With ipu bridge, endpoints may only be created when ipu bridge has
initialised. This may happen after the sensor driver has first probed.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ov2740.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/i2c/ov2740.c
b/drivers/media/i2c/ov2740.c
index d83ac31efd9cb8cb5385ab2e2b492b444fe5a600..24e468485fbf01d80da32dc8345abd52f4440f45 100644
(file)
--- a/
drivers/media/i2c/ov2740.c
+++ b/
drivers/media/i2c/ov2740.c
@@
-931,7
+931,7
@@
static int ov2740_check_hwcfg(struct device *dev)
ep = fwnode_graph_get_next_endpoint(fwnode, NULL);
if (!ep)
- return -E
NXIO
;
+ return -E
PROBE_DEFER
;
ret = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg);
fwnode_handle_put(ep);