media: staging: media: imx: imx7-media-csi: Drop duplicate link creation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 6 Feb 2022 05:13:53 +0000 (05:13 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 17:02:28 +0000 (18:02 +0100)
commit3c05e2dd4f596aaa01fd295ca30983999d6517dd
tree642e29d2f19e10b78cb3422fa2d6e7f7592165b8
parentbdf861aba4b842012b5eec57b320727e4dc4761a
media: staging: media: imx: imx7-media-csi: Drop duplicate link creation

The imx_media_create_csi2_links() creates a media controller link
between the CSI-2 receiver and the next entity in the pipeline, which
can be either a video mux (handled by the video-mux driver) or the CSI
bridge itself. This isn't needed, as the link is already created either
by the video-mux driver or by the imx7-media-csi driver itself (in
imx7_csi_notify_bound()).

Drop imx_media_create_csi2_links(), which allows dropping the CSI bridge
subdev grp_id.

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>
drivers/staging/media/imx/imx7-media-csi.c