]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: atomisp: gc0310: Modify vblank value to run at 30 fps
authorHans de Goede <hansg@kernel.org>
Fri, 4 Jul 2025 19:18:27 +0000 (21:18 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jul 2025 06:43:29 +0000 (08:43 +0200)
Currently the sensor is running 30.9 fps, increase vblank
to have it actually run at 30.0 fps.

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250517114106.43494-4-hdegoede@redhat.com
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c

index f253b4b494f2c7c466ee8764481d7fb69057597e..6b11f0ff608861862ef5c787b6fcae0698d976f5 100644 (file)
@@ -141,7 +141,7 @@ static const struct gc0310_reg gc0310_reset_register[] = {
        { 0x05, 0x00 },
        { 0x06, 0xb2 }, /* 0x0a //HB */
        { 0x07, 0x00 },
-       { 0x08, 0x0c }, /* 0x89 //VB */
+       { 0x08, 0x1b }, /* 0x89 //VB */
        { 0x09, 0x00 }, /* row start */
        { 0x0a, 0x00 },
        { 0x0b, 0x00 }, /* col start */