media: atmel: atmel-isc: create callback for DPC submodule product specific
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:19 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 12:18:43 +0000 (14:18 +0200)
commit883285556388affe1273a50d1af8772c30aa6d89
tree06f141b8e2ffcf4d43b9e0993a7c6e7a5f9e9e08
parent8f1b451c87ee054f3f5238ac00593e7adaf96152
media: atmel: atmel-isc: create callback for DPC submodule product specific

The DPC submodule is a part of the atmel-isc pipeline, and stands for
Defective Pixel Correction. Its purpose is to detect defective pixels and
correct them if possible with the help of adjacent pixels.
Create a product specific callback for initializing the DPC submodule
of the pipeline.
For sama5d2 product, this module does not exist, thus this function is a noop.

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