From ccec53c49529e0284503df3a566882bd581f3209 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Wed, 7 Oct 2020 17:33:43 +0200 Subject: [PATCH 055/323] 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 69be02648..13ffb2541 100644 --- a/drivers/media/i2c/ov5640.c +++ b/drivers/media/i2c/ov5640.c @@ -3054,7 +3054,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.34.0