]> git.ipfire.org Git - thirdparty/linux.git/commit
media: mali-c55: Assert ISP blocks size correctness
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Fri, 14 Nov 2025 11:02:12 +0000 (12:02 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 14 Nov 2025 14:48:49 +0000 (15:48 +0100)
commit1435db44ec1c81ede88470ed3486a2f5a8765704
tree53eb1418943bee697b249a68cbf0599158426c5f
parentd619dd9a3d401063cc6d31cada98c99db449d381
media: mali-c55: Assert ISP blocks size correctness

For each supported ISP block type the v4l2-isp framework expects
one handler and one block type info.

Static assert that the array of handlers is of the same size of the
array of block types info.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/arm/mali-c55/mali-c55-params.c