diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-01-27 04:21:57 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-08 11:05:08 +0300 |
commit | bc0d3df31ffe87d3162710adc5a6ad0f3744b066 (patch) | |
tree | 58963742bd25196ee628a35bab8c5c45ca2c3614 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02240a2764f8381f74b3a25742d6d3fd11fa2144 (diff) | |
download | linux-bc0d3df31ffe87d3162710adc5a6ad0f3744b066.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions