diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2024-06-17 18:11:34 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2024-06-19 19:43:07 +0300 |
commit | 65f3594366eb303680eae97b935fa0fc90cb7ccc (patch) | |
tree | 09304c65d8e1ada59031fbca659147760ca20a1a /drivers/media/v4l2-core/v4l2-subdev.c | |
parent | 33fb59ca95bedcacf8ec19b6a63102883bcc4ad5 (diff) |
media: max9286: Use frame interval from subdev state
Use the frame interval stored in the subdev state instead of storing
a copy in the driver private structure.
Initialize the frame interval to the special case 0/0 that in the
max9286 driver represents automatic handling of frame sync.
As the frame sync mode is set at s_stream() time, we can remove it
from max9286_setup().
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240617161135.130719-12-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