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/gpu/drm/rockchip/rk628/rk628_combrxphy.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/kernel/drivers/gpu/drm/rockchip/rk628/rk628_combrxphy.c b/kernel/drivers/gpu/drm/rockchip/rk628/rk628_combrxphy.c
index 7646ea7..a83eeea 100644
--- a/kernel/drivers/gpu/drm/rockchip/rk628/rk628_combrxphy.c
+++ b/kernel/drivers/gpu/drm/rockchip/rk628/rk628_combrxphy.c
@@ -22,7 +22,6 @@
struct regmap *regmap;
struct clk *pclk;
struct reset_control *rstc;
- enum phy_mode mode;
bool is_cable_mode;
};
@@ -921,17 +920,7 @@
return 0;
}
-static int rk628_combrxphy_set_mode(struct phy *phy, enum phy_mode mode)
-{
- struct rk628_combrxphy *combrxphy = phy_get_drvdata(phy);
-
- combrxphy->mode = mode;
-
- return 0;
-}
-
static const struct phy_ops rk628_combrxphy_ops = {
- .set_mode = rk628_combrxphy_set_mode,
.power_on = rk628_combrxphy_power_on,
.power_off = rk628_combrxphy_power_off,
.owner = THIS_MODULE,
--
Gitblit v1.6.2