summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-05-02 02:38:04 +0300
committerMyungJoo Ham <myungjoo.ham@samsung.com>2019-08-24 20:11:12 +0900
commitb061312f4bca20ed60246f7fe2e1ffa247ce5bf7 (patch)
treeeed1da3147077a704ff0d0a171dac87c6cd0a619
parent30af44fae8bdccfb21a45dfb4029f954f618d2e3 (diff)
downloadlinux-stable-b061312f4bca20ed60246f7fe2e1ffa247ce5bf7.tar.gz
linux-stable-b061312f4bca20ed60246f7fe2e1ffa247ce5bf7.tar.bz2
linux-stable-b061312f4bca20ed60246f7fe2e1ffa247ce5bf7.zip
PM / devfreq: tegra: Don't set EMC clock rate to maximum on probe
There is no real benefit from doing so, hence let's drop that rate setting for consistency. Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--drivers/devfreq/tegra-devfreq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c
index 325443f67725..6780fb41ed12 100644
--- a/drivers/devfreq/tegra-devfreq.c
+++ b/drivers/devfreq/tegra-devfreq.c
@@ -641,8 +641,6 @@ static int tegra_devfreq_probe(struct platform_device *pdev)
return PTR_ERR(tegra->emc_clock);
}
- clk_set_rate(tegra->emc_clock, ULONG_MAX);
-
tegra->rate_change_nb.notifier_call = tegra_actmon_rate_notify_cb;
err = clk_notifier_register(tegra->emc_clock, &tegra->rate_change_nb);
if (err) {