]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: rockchip: rkisp1: make some isp-stats functions variable
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Fri, 23 Jul 2021 07:32:17 +0000 (09:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Aug 2021 15:07:26 +0000 (17:07 +0200)
commit26eadfcbd7511f923f260cfd226ab262d77ee8f3
tree3496f7c553ce8b11ce4cca1c8d2661790f5fb370
parente05d94c46d11b1c60cf255a3ae7fd1eb3a75a9d4
media: rockchip: rkisp1: make some isp-stats functions variable

The isp block evolved in subsequent socs, so some functions
will behave differently on newer variants.

Therefore make it possible to override the needed stats functions.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
drivers/media/platform/rockchip/rkisp1/rkisp1-stats.c