Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: stm32-dcmi: fix crash when subdev do not expose any formats
[ Upstream commit 33dfeb6 ] 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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information