[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1478500420-22045-3-git-send-email-hl@rock-chips.com>
Date: Mon, 7 Nov 2016 14:33:40 +0800
From: Lin Huang <hl@...k-chips.com>
To: myungjoo.ham@...sung.com
Cc: cw00.choi@...sung.com, dianders@...omium.org,
linux-rockchip@...ts.infradead.org, linux-pm@...r.kernel.org,
dbasehore@...omium.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Lin Huang <hl@...k-chips.com>
Subject: [RESEND PATCH v3 2/2] PM/devfreq: rk3399: get devfreq suspend frequency
We need ddr run a specific frequency when ddr dvfs stop
working. For example: if we enable two monitor, then we will
stop ddr dvfs, but we hope ddr can run in highest frequency
obviously.
Signed-off-by: Lin Huang <hl@...k-chips.com>
---
Changes in v2:
- None
Changes in v3:
- None
drivers/devfreq/rk3399_dmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
index 5a2da95..39f8e27 100644
--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -329,7 +329,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
if (IS_ERR(data->devfreq))
return PTR_ERR(data->devfreq);
devm_devfreq_register_opp_notifier(dev, data->devfreq);
-
+ devfreq_opp_get_suspend_opp(dev, data->devfreq);
data->dev = dev;
platform_set_drvdata(pdev, data);
pd_register_notify_to_dmc(data->devfreq);
--
1.9.1
Powered by blists - more mailing lists