media: atmel: atmel-isc: add CC initialization function
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:17 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 12:15:28 +0000 (14:15 +0200)
commit2873f85bd318bfc3f453fa78facb2b77632b36d8
treefaf7eaf08ff1304b9daeb0f5ac691dd3432f6cfd
parent5507b10109253a19765880fffff6e9fff3810868
media: atmel: atmel-isc: add CC initialization function

The CC submodule is a part of the atmel-isc pipeline, and stands for
Color Correction. It is used to apply gains and offsets to the
chroma (U, V) components of the YUV elements.
Implement the CC submodule initialization, as a product
specific function, which currently configures the neutral point in color
correction.

[hverkuil: made isc_sama5d2_config_cc static]

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