aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2024-06-17 16:11:33 +0000
committerLaurent Pinchart <[email protected]>2024-06-19 16:43:06 +0000
commit33fb59ca95bedcacf8ec19b6a63102883bcc4ad5 (patch)
treedd378396ab9215209959a02a88ed79953684797a /drivers/media/v4l2-core/v4l2-subdev.c
parentmedia: max9286: Fix enum_mbus_code (diff)
downloadkernel-33fb59ca95bedcacf8ec19b6a63102883bcc4ad5.tar.gz
kernel-33fb59ca95bedcacf8ec19b6a63102883bcc4ad5.zip
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 <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions