]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: fix enum_fmt logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 4 Nov 2021 11:27:55 +0000 (11:27 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:45 +0000 (08:11 +0000)
commit425223a15660c2fbcee90cec2ffaab5d11871ded
tree89db134da45778ca4e3628e4563d063714052c66
parent64b63c38fdd965216fed22f27b71c9f24b5c87de
media: atomisp: fix enum_fmt logic

Currently, the enum lists the sensor's native format as a
supported format. However, trying to setup a pipeline using
it doesn't work.

So, exclude such formats from the enum.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c