summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-03-14 12:39:40 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-04-25 15:14:28 +0200
commitca7af8040ed1a2a034d6fecd8a8c0ddbf819a1bf (patch)
treeb2f47dec04657972fe53eed4ad34bb10d0bf4e24
parent1a27fce0fa79ef32c37f7e1b2d49357da7f2e2b2 (diff)
media: vivid: Fix requirement about webcam_intervals
Since commit f0b4a2c037c0 ("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>
-rw-r--r--drivers/media/test-drivers/vivid/vivid-vid-cap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/test-drivers/vivid/vivid-vid-cap.c b/drivers/media/test-drivers/vivid/vivid-vid-cap.c
index b166d90177c64..623ba1e5e5479 100644
--- a/drivers/media/test-drivers/vivid/vivid-vid-cap.c
+++ b/drivers/media/test-drivers/vivid/vivid-vid-cap.c
@@ -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 },