Commit 85f8673f authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

media: staging: media: imx: imx7-media-csi: Drop unused frame_interval

The frame_interval field of the imx7_csi structure is set but never
used. Drop it.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarRui Miguel Silva <rmfrfs@gmail.com>
Tested-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 46332d14
......@@ -181,7 +181,6 @@ struct imx7_csi {
struct v4l2_mbus_framefmt format_mbus[IMX7_CSI_PADS_NUM];
const struct imx_media_pixfmt *cc[IMX7_CSI_PADS_NUM];
struct v4l2_fract frame_interval[IMX7_CSI_PADS_NUM];
void __iomem *regbase;
int irq;
......@@ -1056,10 +1055,6 @@ static int imx7_csi_registered(struct v4l2_subdev *sd)
&csi->cc[i]);
if (ret < 0)
return ret;
/* init default frame interval */
csi->frame_interval[i].numerator = 1;
csi->frame_interval[i].denominator = 30;
}
csi->vdev = imx_media_capture_device_init(csi->sd.dev, &csi->sd,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment