]> git.baikalelectronics.ru Git - kernel.git/commit
media: atmel: atmel-isc: create callback for GAM submodule product specific
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:20 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 12:19:17 +0000 (14:19 +0200)
commit49fae682d50e5472002e75a2cff6412fb827377b
tree9ba467213659c1b0d576d839aefe95aa0455419f
parent3ba79ec2e4601b3521b7a0d5a1782f5d333db22a
media: atmel: atmel-isc: create callback for GAM submodule product specific

The GAM submodule is a part of the atmel-isc pipeline, and stands for
Gamma Correction. It is used to apply the gamma curve to the incoming pixels.
Create a product specific callback for initializing the GAM submodule
of the pipeline.
For sama5d2 product, there is no special configuration at this moment,
thus this function is a noop.

[hverkuil: made isc_sama5d2_config_gam 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