28 lines
947 B
Diff
28 lines
947 B
Diff
From 8c450c941cf7729ad4379c18d396ca6be046047f Mon Sep 17 00:00:00 2001
|
|
From: Martijn Braam <martijn@brixit.nl>
|
|
Date: Wed, 7 Oct 2020 17:33:43 +0200
|
|
Subject: [PATCH 161/478] media: ov5640: set default ae target lower
|
|
|
|
The OV5640 tries to overexpose all photos by about 1 stop. This makes
|
|
the exposure target one stop lower.
|
|
---
|
|
drivers/media/i2c/ov5640.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
|
|
index 75f71e6aaf84..d693ab938893 100644
|
|
--- a/drivers/media/i2c/ov5640.c
|
|
+++ b/drivers/media/i2c/ov5640.c
|
|
@@ -3082,7 +3082,7 @@ static int ov5640_probe(struct i2c_client *client)
|
|
&ov5640_mode_data[OV5640_MODE_VGA_640_480];
|
|
sensor->last_mode = sensor->current_mode;
|
|
|
|
- sensor->ae_target = 52;
|
|
+ sensor->ae_target = 28;
|
|
|
|
/* optional indication of physical rotation of sensor */
|
|
ret = fwnode_property_read_u32(dev_fwnode(&client->dev), "rotation",
|
|
--
|
|
2.35.3
|
|
|