diff options
author | Laurent Pinchart <[email protected]> | 2023-01-27 02:21:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-08 09:05:08 +0100 |
commit | bc0d3df31ffe87d3162710adc5a6ad0f3744b066 (patch) | |
tree | 58963742bd25196ee628a35bab8c5c45ca2c3614 /net/unix/unix_bpf.c | |
parent | 02240a2764f8381f74b3a25742d6d3fd11fa2144 (diff) |
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 <[email protected]>
Tested-by: Adam Ford <[email protected]> #imx8mm-beacon-kit
Acked-by: Rui Miguel Silva <[email protected]>
Tested-by: Martin Kepplinger <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions