]> git.baikalelectronics.ru Git - kernel.git/commit
media: atmel: atmel-isc: move the formats list into product specific code
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:22 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 13:40:42 +0000 (15:40 +0200)
commit5956e9f0761c7b70e4b63ef1a229f98252f9015e
tree867d2871b798a891a3c5a28c2e2f8ef38e230c98
parent312ecbd07728cca6becb17e435999bf8945b27f7
media: atmel: atmel-isc: move the formats list into product specific code

The list of input and output formats has to be product specific.
Move this list into the product specific code.
Have pointers to these arrays inside the device struct.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c
drivers/media/platform/atmel/atmel-isc.h
drivers/media/platform/atmel/atmel-sama5d2-isc.c