]> www.infradead.org Git - users/willy/xarray.git/commit
media: microchip-isc: Use accessors for pad config 'try_*' fields
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 23 Oct 2023 21:40:06 +0000 (23:40 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 23 Nov 2023 17:22:52 +0000 (18:22 +0100)
commit098a1eed5daeb62e2c974f6c37d3b0d582c5586e
treeb79e5da9c641cca2cba6f641113bb04965645808
parentf9c12d6783580f22f283bfc733fdd6c41a0c690d
media: microchip-isc: Use accessors for pad config 'try_*' fields

The 'try_*' fields of the v4l2_subdev_pad_config structure are meant to
be accessed through helper functions. Replace direct access with usage
of the v4l2_subdev_get_pad_format(), v4l2_subdev_get_pad_crop() and
v4l2_subdev_get_pad_compose() helpers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/microchip/microchip-isc-base.c