]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: atomisp: replace ia_css_region with v4l2_rect
authorKarthikey Kadati <karthikey3608@gmail.com>
Thu, 15 Jan 2026 03:12:07 +0000 (08:42 +0530)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 20 May 2026 08:29:30 +0000 (11:29 +0300)
commit2ebf05cc41603c23959752fa6fabb7f24444bae5
tree24b1df39d615ebfa434fcd5137bbca3d694292d8
parent2e6b2d43309758b4dff4074c9d6a2cb084066463
media: atomisp: replace ia_css_region with v4l2_rect

The struct ia_css_region definition is redundant as struct v4l2_rect
provides the same functionality (left, top, width, height) and is the
standard V4L2 type.

Replace usage of ia_css_region with v4l2_rect in ia_css_dz_config
and remove the definition of ia_css_region from ia_css_types.h.

Also remove historical comments referencing the addition of zoom_region
and include <linux/videodev2.h> to support the v4l2_rect type.

Signed-off-by: Karthikey Kadati <karthikey3608@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/ia_css_types.h
drivers/staging/media/atomisp/pci/sh_css_params.c