media: i2c: alvium: store frame interval in subdev state
authorTommaso Merciai <tomm.merciai@gmail.com>
Wed, 20 Dec 2023 12:40:22 +0000 (13:40 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 23 Feb 2024 13:33:32 +0000 (14:33 +0100)
commitd95d9c2c9356c217b8f37ea99e1f720d1bf785f4
treeb3d6522c2b26ca82f337e3d454ddd936d39867d6
parentd0d487582f0220c4ba6f7f400a87a7a422c1874d
media: i2c: alvium: store frame interval in subdev state

Use the newly added storage for frame interval in the subdev state to
simplify the driver.

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/alvium-csi2.c
drivers/media/i2c/alvium-csi2.h