mbox series

[0/3] media: i2c: alvium: store frame interval in subdev state

Message ID 20231215082452.1720481-1-tomm.merciai@gmail.com (mailing list archive)
Headers show
Series media: i2c: alvium: store frame interval in subdev state | expand

Message

Tommaso Merciai Dec. 15, 2023, 8:24 a.m. UTC
Hi All,
The goal of this series as suggested by LPinchart is to remove the following
data from alvium_dev struct:

 - struct v4l2_fract frame_interval;
 - u64 dft_fr;
 - u64 min_fr;
 - u64 max_fr;
 - u64 fr;

And use instead the the newly added storage for frame interval in the subdev state.
This series is made on top of the following series:

 - media: v4l2-subdev: Improve frame interval handling
 - base-commit: 76cb0b74268f1347e4b7fdefc343b064410e0e10

Tommaso Merciai (3):
  media: i2c: alvium: removal of dft_fr, min_fr and max_fr
  media: i2c: alvium: inline set_frame_interval into s_frame_interval
  media: i2c: alvium: store frame interval in subdev state

 drivers/media/i2c/alvium-csi2.c | 91 ++++++++++-----------------------
 drivers/media/i2c/alvium-csi2.h |  5 --
 2 files changed, 28 insertions(+), 68 deletions(-)