diff options
author | Laurent Pinchart <[email protected]> | 2023-01-26 02:10:01 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-08 09:07:06 +0100 |
commit | d01a1c30777e46bad5e87d60bf149f647064dec5 (patch) | |
tree | 941f2d353a5794d1fffca91ce174b187272ee558 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 2c117550d70578b0b9eb183807b0984c11ecb44b (diff) |
media: imx: imx7-media-csi: Zero format struct before calling .get_fmt()
The v4l2_subdev_format structure passed to the .get_fmt() subdev
operation in imx7_csi_video_validate_fmt() isn't zeroed, which can cause
undefined behaviour. Fix it.
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions