From 161a293b8d3d9a319550166d64ee06b0bd4a2408 Mon Sep 17 00:00:00 2001 From: ge_nan Date: Mon, 11 Nov 2024 09:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4gc8034=20camera=20=E8=AF=BB?= =?UTF-8?q?=E5=8F=96otp=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ge_nan --- linux-5.10/rk3568_patch/kernel.patch | 6 +----- linux-6.6/rk3568_patch/kernel.patch | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 7cefd68..d6c5192 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -839452,7 +839452,7 @@ new file mode 100755 index 000000000000..6edbf5e02995 --- /dev/null +++ b/drivers/media/i2c/gc8034.c -@@ -0,0 +1,2838 @@ +@@ -0,0 +1,2834 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * gc8034 driver @@ -842170,10 +842170,6 @@ index 000000000000..6edbf5e02995 + if (ret) + goto err_power_off; + -+ gc8034_otp_enable(gc8034); -+ gc8034_otp_read(gc8034); -+ gc8034_otp_disable(gc8034); -+ +#ifdef CONFIG_VIDEO_V4L2_SUBDEV_API + sd->internal_ops = &gc8034_internal_ops; + sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | diff --git a/linux-6.6/rk3568_patch/kernel.patch b/linux-6.6/rk3568_patch/kernel.patch index 40e03c2..1a529ed 100644 --- a/linux-6.6/rk3568_patch/kernel.patch +++ b/linux-6.6/rk3568_patch/kernel.patch @@ -600208,7 +600208,7 @@ new file mode 100644 index 000000000..afc8fa23e --- /dev/null +++ b/drivers/media/i2c/gc8034.c -@@ -0,0 +1,2817 @@ +@@ -0,0 +1,2813 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * gc8034 driver @@ -602917,10 +602917,6 @@ index 000000000..afc8fa23e + if (ret) + goto err_power_off; + -+ gc8034_otp_enable(gc8034); -+ gc8034_otp_read(gc8034); -+ gc8034_otp_disable(gc8034); -+ +#ifdef CONFIG_VIDEO_V4L2_SUBDEV_API + sd->internal_ops = &gc8034_internal_ops; + sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | -- Gitee