diff options
| author | 2022-05-09 23:32:33 +0100 | |
|---|---|---|
| committer | 2022-07-08 18:02:40 +0100 | |
| commit | be3e378b2d14fcbbcf368f37628520e9f0262bca (patch) | |
| tree | c596bcd2ef9061d3f8997de25da0a372c23e8b86 /drivers/staging | |
| parent | media: staging: media: imx: imx7-media-csi: Ensure consistent function prefix (diff) | |
| download | linux-dev-be3e378b2d14fcbbcf368f37628520e9f0262bca.tar.xz linux-dev-be3e378b2d14fcbbcf368f37628520e9f0262bca.zip | |
media: staging: media: imx: imx7-media-csi: Don't set subdev group id
The subdev group id isn't used by any of the remaining helpers used by
this driver, don't set it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging')
| -rw-r--r-- | drivers/staging/media/imx/imx7-media-csi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index fe7521dd3b92..72ca95921847 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -1749,13 +1749,6 @@ static int imx7_csi_notify_bound(struct v4l2_async_notifier *notifier, struct imx7_csi *csi = imx7_csi_notifier_to_dev(notifier); struct media_pad *sink = &csi->sd.entity.pads[IMX7_CSI_PAD_SINK]; - /* - * If the subdev is a video mux, it must be one of the CSI - * muxes. Mark it as such via its group id. - */ - if (sd->entity.function == MEDIA_ENT_F_VID_MUX) - sd->grp_id = IMX_MEDIA_GRP_ID_CSI_MUX; - csi->src_sd = sd; return v4l2_create_fwnode_links_to_pad(sd, sink, MEDIA_LNK_FL_ENABLED | |
