media: cx18: properly report pixelformats
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 1 Feb 2023 11:50:30 +0000 (12:50 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 19 Mar 2023 21:12:13 +0000 (22:12 +0100)
commit651640f6534c81685e1811e23d2808cb95be11da
tree7a055b1e6f7026857d4bd5f3c1280b2fed730f9a
parent274cb00985e2b58210d6799e38b4fc43627e2546
media: cx18: properly report pixelformats

The MPEG device reported non-MPEG pixelformats, and the YUV device reported
the MPEG pixelformat as well.

Separate the two: either report MPEG or HM12/UYUV, not all three.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/pci/cx18/cx18-ioctl.c