From 419089225a60f5b4e1415b1176e43bcbc447708b Mon Sep 17 00:00:00 2001 From: ge_nan Date: Fri, 8 Nov 2024 11:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86gc8034=E8=AF=BB=E5=8F=96otp=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=A7=BB=E8=87=B3probe=E4=B8=8B=E6=96=B9?= 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 | 8 ++++---- linux-6.6/rk3568_patch/kernel.patch | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 7cefd68..18ee6ed 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -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 | @@ -842202,6 +842198,10 @@ index 000000000000..6edbf5e02995 + goto err_clean_entity; + } + ++ gc8034_otp_enable(gc8034); ++ gc8034_otp_read(gc8034); ++ gc8034_otp_disable(gc8034); ++ + pm_runtime_set_active(dev); + pm_runtime_enable(dev); + pm_runtime_idle(dev); diff --git a/linux-6.6/rk3568_patch/kernel.patch b/linux-6.6/rk3568_patch/kernel.patch index b581ee3..4535ae4 100644 --- a/linux-6.6/rk3568_patch/kernel.patch +++ b/linux-6.6/rk3568_patch/kernel.patch @@ -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 | @@ -602949,6 +602945,10 @@ index 000000000..afc8fa23e + goto err_clean_entity; + } + ++ gc8034_otp_enable(gc8034); ++ gc8034_otp_read(gc8034); ++ gc8034_otp_disable(gc8034); ++ + pm_runtime_set_active(dev); + pm_runtime_enable(dev); + pm_runtime_idle(dev); -- Gitee