diff options
| author | Hans de Goede <hansg@kernel.org> | 2025-10-14 19:40:27 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-13 12:28:49 +0100 |
| commit | b9315439680f83caef233a6aea8a7126ecf02bcc (patch) | |
| tree | b698acc39f1c951d5e49fcf9d5d5556255bcaa94 | |
| parent | e8fefc67f2d9df05524b182ac9d3f3f712315e3b (diff) | |
| download | linux-b9315439680f83caef233a6aea8a7126ecf02bcc.tar.gz linux-b9315439680f83caef233a6aea8a7126ecf02bcc.zip | |
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 <hansg@kernel.org>
Tested-by: Mehdi Djait <mehdi.djait@linux.intel.com> # Dell XPS 9315
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
| -rw-r--r-- | drivers/media/i2c/ov01a10.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/ov01a10.c b/drivers/media/i2c/ov01a10.c index 76c75da4d7c8..2480925f9957 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}, }; |
