aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-01-27 02:21:57 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-08 09:05:08 +0100
commitbc0d3df31ffe87d3162710adc5a6ad0f3744b066 (patch)
tree58963742bd25196ee628a35bab8c5c45ca2c3614 /tools/perf/scripts/python
parentmedia: imx: imx7-media-csi: Drop imx7_csi.cc field (diff)
downloadlinux-bc0d3df31ffe87d3162710adc5a6ad0f3744b066.tar.gz
linux-bc0d3df31ffe87d3162710adc5a6ad0f3744b066.zip
media: imx: imx7-media-csi: Simplify imx7_csi_video_init_format()
The imx7_csi_video_init_format() function instantiates a v4l2_subdev_format on the stack, to only use the .format field of that structure. Replace it with a v4l2_mbus_framefmt instance. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon-kit Acked-by: Rui Miguel Silva <rmfrfs@gmail.com> Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions