25 lines
877 B
Diff
25 lines
877 B
Diff
From 84ec0b372b38d99e34e2b2ab0fe659e1b0bdf506 Mon Sep 17 00:00:00 2001
|
|
From: Adam Pigg <adam@piggz.co.uk>
|
|
Date: Thu, 29 Dec 2022 11:10:41 +0000
|
|
Subject: [PATCH 049/464] media: ov5640: Add read-only property for vblank
|
|
|
|
---
|
|
drivers/media/i2c/ov5640.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
|
|
index f49768184965..e174da0afadd 100644
|
|
--- a/drivers/media/i2c/ov5640.c
|
|
+++ b/drivers/media/i2c/ov5640.c
|
|
@@ -3841,6 +3841,7 @@ static int ov5640_init_controls(struct ov5640_dev *sensor)
|
|
ctrls->pixel_rate->flags |= V4L2_CTRL_FLAG_READ_ONLY;
|
|
ctrls->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
|
|
ctrls->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY;
|
|
+ ctrls->vblank->flags |= V4L2_CTRL_FLAG_READ_ONLY;
|
|
ctrls->gain->flags |= V4L2_CTRL_FLAG_VOLATILE;
|
|
ctrls->exposure->flags |= V4L2_CTRL_FLAG_VOLATILE;
|
|
|
|
--
|
|
2.34.1
|
|
|