Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: ov2740: Return -EPROBE_DEFER if no endpoint is found

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>

authored by

Sakari Ailus and committed by
Hans Verkuil
07d81b50 289c2592

+1 -1
+1 -1
drivers/media/i2c/ov2740.c
··· 931 931 932 932 ep = fwnode_graph_get_next_endpoint(fwnode, NULL); 933 933 if (!ep) 934 - return -ENXIO; 934 + return -EPROBE_DEFER; 935 935 936 936 ret = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg); 937 937 fwnode_handle_put(ep);