]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ccs: Remove ccs_get_crop_compose helper
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 25 Sep 2023 08:23:08 +0000 (11:23 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 16 Jan 2026 13:08:52 +0000 (14:08 +0100)
commit0fc3caab96c9e713e897ff4cf3b42b1b409236d1
tree00fa24aed2d1d93e68861233550f38959f3205f3
parent91848c99ed6a98daf77f4cb7d44cf3f13bc6998f
media: ccs: Remove ccs_get_crop_compose helper

As it's now easier to obtain the necessary information on crop and compose
rectangles after moving to sub-device state, remove the
ccs_get_crop_compose helper.

Also remove the comp arguments of the compose goodness calculators and
make related local variables and function arguments const where
applicable.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ccs/ccs-core.c