diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 7cefd683614e3e88fd2c28980aa764d31eb8d01d..18ee6ed0ad099f598abf1b63e2b0b06552dd4a9b 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 b581ee3f6a39536983ebb24f2f7648c6073d17e6..4535ae4ce0ad8556d4bc359a214c25af6214dfbb 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);