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>
This commit is contained in:
Hans de Goede 2025-10-14 19:40:27 +02:00 committed by Hans Verkuil
parent e8fefc67f2
commit b931543968

View File

@ -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},
};