media: rockchip: flexbus_cif: Rename v4l2_async_subdev as v4l2_async_connection

Change-Id: I05ec5f126a12bf87315e1aa72c857c912fddc884
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2025-08-05 14:56:33 +08:00
parent bf92e0cfe9
commit 9afff37f8b

View File

@@ -316,19 +316,19 @@ notifier_end:
}
struct flexbus_cif_async_subdev {
struct v4l2_async_subdev asd;
struct v4l2_async_connection asc;
struct v4l2_mbus_config mbus;
int lanes;
};
static int subdev_notifier_bound(struct v4l2_async_notifier *notifier,
struct v4l2_subdev *subdev,
struct v4l2_async_subdev *asd)
struct v4l2_async_connection *asc)
{
struct flexbus_cif_device *cif_dev = container_of(notifier,
struct flexbus_cif_device, notifier);
struct flexbus_cif_async_subdev *s_asd = container_of(asd,
struct flexbus_cif_async_subdev, asd);
struct flexbus_cif_async_subdev *s_asd = container_of(asc,
struct flexbus_cif_async_subdev, asc);
if (cif_dev->num_sensors == ARRAY_SIZE(cif_dev->sensors)) {
v4l2_err(&cif_dev->v4l2_dev,
@@ -349,10 +349,10 @@ static int subdev_notifier_bound(struct v4l2_async_notifier *notifier,
static int flexbus_cif_fwnode_parse(struct device *dev,
struct v4l2_fwnode_endpoint *vep,
struct v4l2_async_subdev *asd)
struct v4l2_async_connection *asc)
{
struct flexbus_cif_async_subdev *rk_asd =
container_of(asd, struct flexbus_cif_async_subdev, asd);
container_of(asc, struct flexbus_cif_async_subdev, asc);
if (vep->bus_type != V4L2_MBUS_BT656 &&
vep->bus_type != V4L2_MBUS_PARALLEL)