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:
Sakari Ailus
2017-09-01 17:56:32 -04:00
committed by Mauro Carvalho Chehab
parent 9ca4653121
commit df4975663f
2 changed files with 40 additions and 86 deletions

View File

@@ -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) \