build/patch/kernel/archive/rockchip64-6.1/rk3399-dmc-polling-rate.patch

14 lines
517 B
Diff

diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
index daff4070261..62f4804134c 100644
--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -430,7 +430,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
dev_pm_opp_put(opp);
data->profile = (struct devfreq_dev_profile) {
- .polling_ms = 200,
+ .polling_ms = 50,
.target = rk3399_dmcfreq_target,
.get_dev_status = rk3399_dmcfreq_get_dev_status,
.get_cur_freq = rk3399_dmcfreq_get_cur_freq,