]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: stm32: dcmipp: avoid duplicated format on enum in bytecap
authorAlain Volmat <alain.volmat@foss.st.com>
Thu, 12 Dec 2024 09:17:34 +0000 (10:17 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 12 Dec 2024 12:22:26 +0000 (13:22 +0100)
commit58d0201ef8ad1b2316e57ef9a23ccd6382ded5bb
treec0a8e60bc1d51756687bfcae05aece51c4be9c68
parente2650231553cb3aa47eeb034fbec2e5f34d9c89a
media: stm32: dcmipp: avoid duplicated format on enum in bytecap

Avoid duplication of enumerated pixelformat on the bytecap
video capture device.  Indeed, since the bytecap format list
contains both CSI & parallel 16bits formats, ensure that same
pixelformat are not reported twice when performing enumeration
of supported formats.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c