Re: [PATCH 3/3] [media] ov5645: Add control to export CSI2 link frequency

2017-07-05 Thread Sakari Ailus
On Wed, Jul 05, 2017 at 11:44:49AM +0300, Todor Tomov wrote: > @@ -1231,6 +1246,13 @@ static int ov5645_probe(struct i2c_client *client, > &ov5645_ctrl_ops, > V4L2_CID_PIXEL_RATE, >

[PATCH 3/3] [media] ov5645: Add control to export CSI2 link frequency

2017-07-05 Thread Todor Tomov
Add suport for standard integer menu V4L2_CID_LINK_FREQ control. The CSI2 link frequency value is specific for each sensor mode so the sensor mode structure is extended to add this. The control is made read-only and its value is updated when the sensor mode is changed - on set_format. Signed-off-b