diff options
author | Rui Miguel Silva | 2019-02-22 11:17:10 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2019-03-19 18:43:52 +0100 |
commit | 5eaa30aedd7fc4e6a9f077b7ae5b42c9965d5b98 (patch) | |
tree | b2f6ee01dd0e274a08c685f0915616d619bf4e87 /drivers/media/platform | |
parent | media: staging/imx7: Fix an error code in mipi_csis_clk_get() (diff) | |
download | kernel-qcow2-linux-5eaa30aedd7fc4e6a9f077b7ae5b42c9965d5b98.tar.gz kernel-qcow2-linux-5eaa30aedd7fc4e6a9f077b7ae5b42c9965d5b98.tar.xz kernel-qcow2-linux-5eaa30aedd7fc4e6a9f077b7ae5b42c9965d5b98.zip |
media: imx7-media-csi: don't store a floating pointer
if imx7_csi_try_fmt() fails, cc variable won't be
initialized and csi->cc[sdformat->pad] would be pointing
to a random location.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions