summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorHugues Fruchet <hugues.fruchet@st.com>2019-04-01 04:56:09 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 11:09:23 -0400
commit33dfeb62e23c31619d2197850f7e8b50e8cc5466 (patch)
tree1a90a32c2f7523fdca38f2b817d56eba18300413 /include/media
parent1be0a2b702308f16fc1c1a58ada5aba13afc123e (diff)
media: stm32-dcmi: fix crash when subdev do not expose any formats
Do not access sd_formats[] if num_of_sd_formats is zero, ie subdev sensor didn't expose any formats. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions