]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: i2c: ov01a10: Remove values set by controls from global_setting[]
authorHans de Goede <hansg@kernel.org>
Tue, 14 Oct 2025 17:40:28 +0000 (19:40 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:28:49 +0000 (12:28 +0100)
Registers 0x3501 (exposure), 0x3508 (analogue-gain) and 0x4503 (test-
pattern) are already set through __v4l2_ctrl_handler_setup() drop them
from ov01a10_global_setting[].

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>
drivers/media/i2c/ov01a10.c

index 2480925f99576f54f4e4db1e0d7ca9f96f232f63..1a02772bdf1c9b41123d3a219910929443875a95 100644 (file)
@@ -123,11 +123,7 @@ static const struct reg_sequence ov01a10_global_setting[] = {
        {0x3002, 0xa1},
        {0x301e, 0xf0},
        {0x3022, 0x01},
-       {0x3501, 0x03},
-       {0x3502, 0x78},
        {0x3504, 0x0c},
-       {0x3508, 0x01},
-       {0x3509, 0x00},
        {0x3601, 0xc0},
        {0x3603, 0x71},
        {0x3610, 0x68},
@@ -197,7 +193,6 @@ static const struct reg_sequence ov01a10_global_setting[] = {
        {0x4300, 0xff},
        {0x4301, 0x00},
        {0x4302, 0x0f},
-       {0x4503, 0x00},
        {0x4601, 0x50},
        {0x4800, 0x64},
        {0x481f, 0x34},