media: omap3isp: Use generic parser for parsing fwnode endpoints
Instead of using a custom driver implementation, use v4l2_async_notifier_parse_fwnode_endpoints() to parse the fwnode endpoints of the device. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
9ca4653121
commit
df4975663f
@@ -220,14 +220,11 @@ struct isp_device {
|
||||
|
||||
unsigned int sbl_resources;
|
||||
unsigned int subclk_resources;
|
||||
|
||||
#define ISP_MAX_SUBDEVS 8
|
||||
struct v4l2_subdev *subdevs[ISP_MAX_SUBDEVS];
|
||||
};
|
||||
|
||||
struct isp_async_subdev {
|
||||
struct isp_bus_cfg bus;
|
||||
struct v4l2_async_subdev asd;
|
||||
struct isp_bus_cfg bus;
|
||||
};
|
||||
|
||||
#define v4l2_subdev_to_bus_cfg(sd) \
|
||||
|
Reference in New Issue
Block a user