From: Hans de Goede Date: Tue, 14 Oct 2025 17:40:27 +0000 (+0200) Subject: media: i2c: ov01a10: Only set register 0x0305 once X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9315439680f83caef233a6aea8a7126ecf02bcc;p=thirdparty%2Fkernel%2Flinux.git media: i2c: ov01a10: Only set register 0x0305 once Stop setting register 0x0305 to one value from mipi_data_rate_720mbps only to override it with a different value from sensor_1280x800_setting. Instead directly set it to 0xf4. Signed-off-by: Hans de Goede Tested-by: Mehdi Djait # Dell XPS 9315 Reviewed-by: Mehdi Djait Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/ov01a10.c b/drivers/media/i2c/ov01a10.c index 76c75da4d7c8a..2480925f99576 100644 --- a/drivers/media/i2c/ov01a10.c +++ b/drivers/media/i2c/ov01a10.c @@ -108,7 +108,7 @@ static const struct reg_sequence mipi_data_rate_720mbps[] = { {0x0302, 0x00}, {0x0303, 0x06}, {0x0304, 0x01}, - {0x0305, 0xe0}, + {0x0305, 0xf4}, {0x0306, 0x00}, {0x0308, 0x01}, {0x0309, 0x00}, @@ -216,7 +216,6 @@ static const struct reg_sequence ov01a10_global_setting[] = { {0x5200, 0x18}, {0x5004, 0x00}, {0x5080, 0x40}, - {0x0305, 0xf4}, {0x0325, 0xc2}, };