diff options
| author | 2022-05-10 01:25:26 +0100 | |
|---|---|---|
| committer | 2022-07-08 18:02:43 +0100 | |
| commit | 55eb173fe23b57473c6f06d6cc28f99202c50d07 (patch) | |
| tree | ee29eb7a4f095b128a8f0a2a4b4cdee3573b03cb | |
| parent | media: staging: media: imx: imx7-media-csi: Embed imx_media_dev in imx7_csi (diff) | |
media: staging: media: imx: imx7-media-csi: Drop imx_media_add_video_device call
There's no need to call imx_media_add_video_device() anymore, as the
video devices list it manages is only used by the control inheritance
mechanism in the helpers, which this driver doesn't use.
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>
| -rw-r--r-- | drivers/staging/media/imx/imx7-media-csi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index be8bc4247875..cc27c1f8fff0 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -1267,9 +1267,6 @@ static int imx7_csi_video_register(struct imx7_csi *csi) return ret; } - /* Add vdev to the video devices list. */ - imx_media_add_video_device(&csi->imxmd, &csi->vdev); - return 0; } |
