linux/drivers/media/platform/stm32
Hugues Fruchet 33dfeb62e2 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>
2019-04-22 11:09:23 -04:00
..
Makefile [media] cec: add STM32 cec driver 2017-06-13 13:48:18 -03:00
stm32-cec.c media: platform: stm32: wait end of transmission 2019-04-22 10:29:31 -04:00
stm32-dcmi.c media: stm32-dcmi: fix crash when subdev do not expose any formats 2019-04-22 11:09:23 -04:00