aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-06-17 18:11:33 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2024-06-19 19:43:06 +0300
commit33fb59ca95bedcacf8ec19b6a63102883bcc4ad5 (patch)
treedd378396ab9215209959a02a88ed79953684797a /drivers/media/v4l2-core/v4l2-subdev.c
parentb0023db63c467442bc7dec8e3a299eb10ae97dec (diff)
media: max9286: Use the subdev active state
Use the subdev active state in the max9286 driver to store the image format. Replace the .open() function call with the .init_state() one and simplify the set/get_pad_fmt() operations. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://lore.kernel.org/r/20240617161135.130719-11-jacopo.mondi@ideasonboard.com Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions