From: Guoniu.zhou Date: Tue, 9 May 2023 06:56:45 +0000 (+0800) Subject: media: ov5640: correct comments for default VGA to avoid confusion X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=afe25fbc5d078556986fcd1df9dc9140adffff26;p=linux.git media: ov5640: correct comments for default VGA to avoid confusion When OV5640 work at DVP mode, the default initialization settings make it output 30 frames per second. But when it work at CSI-2 mode the default link frequency will make it output 60 frames per second, so correct the comments to make it more clear. Signed-off-by: Guoniu.zhou Reviewed-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c index 3a9dc7d11decd..5b43bbfe47744 100644 --- a/drivers/media/i2c/ov5640.c +++ b/drivers/media/i2c/ov5640.c @@ -3851,7 +3851,7 @@ static int ov5640_probe(struct i2c_client *client) /* * default init sequence initialize sensor to - * YUV422 UYVY VGA@30fps + * YUV422 UYVY VGA(30FPS in parallel mode, 60 in MIPI CSI-2 mode) */ sensor->frame_interval.numerator = 1; sensor->frame_interval.denominator = ov5640_framerates[OV5640_30_FPS];