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)
commit415dbe4efafa29896a9567c3054dd25a749b8857
tree867d2871b798a891a3c5a28c2e2f8ef38e230c98
parentef9b7779688b2d4a772a5089aba2eacbe336779e
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