media: atomisp: Drop second V4L2_PIX_FMT_UYVY atomisp_output_fmts[] entry
authorHans de Goede <hdegoede@redhat.com>
Sat, 16 Mar 2024 21:41:29 +0000 (21:41 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:08:53 +0000 (10:08 +0100)
commit8c40fa0bf74f61d9f007f5e4f11354c5d6269a7c
tree7c174edf45868dfd0cb4e21ca346957aa70e73d5
parentfaa4364bef2ec0060de381ff028d1d836600a381
media: atomisp: Drop second V4L2_PIX_FMT_UYVY atomisp_output_fmts[] entry

Some userspace apps (e.g. libcamera) do not like it if the enum_fmts
ioctl returns the same fmt twice. Drop the second "do not use"
V4L2_PIX_FMT_UYVY entry for parallel sensors to fix this.

The current atomisp code does not support anything other then raw bayer
sensors anyways, so dropping this is not an issue.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c