diff options
| author | Jacopo Mondi <[email protected]> | 2024-06-17 16:11:33 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2024-06-19 16:43:06 +0000 |
| commit | 33fb59ca95bedcacf8ec19b6a63102883bcc4ad5 (patch) | |
| tree | dd378396ab9215209959a02a88ed79953684797a /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | media: max9286: Fix enum_mbus_code (diff) | |
| download | kernel-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
