]> 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)
commit9a93fb86668d4b9003edf75cd476c6a0318e774f
tree867d2871b798a891a3c5a28c2e2f8ef38e230c98
parentf0d0be337c1576e0457bf055819e4d1f33b6a311
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