From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/media/i2c/lt7911uxc.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/drivers/media/i2c/lt7911uxc.c b/kernel/drivers/media/i2c/lt7911uxc.c index a39f8f8..20c9d26 100644 --- a/kernel/drivers/media/i2c/lt7911uxc.c +++ b/kernel/drivers/media/i2c/lt7911uxc.c @@ -1178,15 +1178,14 @@ break; case RKMODULE_SET_CSI_DPHY_PARAM: dphy_param = (struct rkmodule_csi_dphy_param *)arg; - if (dphy_param->vendor == rk3588_dcphy_param.vendor) + if (dphy_param->vendor == PHY_VENDOR_SAMSUNG) rk3588_dcphy_param = *dphy_param; dev_dbg(<7911uxc->i2c_client->dev, "sensor set dphy param\n"); break; case RKMODULE_GET_CSI_DPHY_PARAM: dphy_param = (struct rkmodule_csi_dphy_param *)arg; - if (dphy_param->vendor == rk3588_dcphy_param.vendor) - *dphy_param = rk3588_dcphy_param; + *dphy_param = rk3588_dcphy_param; dev_dbg(<7911uxc->i2c_client->dev, "sensor get dphy param\n"); break; -- Gitblit v1.6.2