media: vivid: Fix requirement about webcam_intervals

Since commit f0b4a2c037 ("media: vivid: Extend FPS rates offered by
simulated webcam") we do not require twice as many intervals as sizes. In
fact, now we have 13 intervals and 6 sizes.

Fix the comment.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Ricardo Ribalda
2025-03-14 12:39:40 +00:00
committed by Hans Verkuil
parent 1a27fce0fa
commit ca7af8040e

View File

@@ -33,8 +33,7 @@ static const struct v4l2_frmsize_discrete webcam_sizes[] = {
};
/*
* Intervals must be in increasing order and there must be twice as many
* elements in this array as there are in webcam_sizes.
* Intervals must be in increasing order.
*/
static const struct v4l2_fract webcam_intervals[] = {
{ 1, 1 },