PM / devfreq: tegra: Set freq in rate callback
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 21 Jan 2016 07:52:26 +0000 (08:52 +0100)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 23 Feb 2016 05:27:42 +0000 (14:27 +0900)
commitdbb0c7c430ddbe4299f3580baec0e2503f6f5a93
treef4fe9aff85ed49d7d61e66dbcbad45c61cc4ac16
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a
PM / devfreq: tegra: Set freq in rate callback

As per the documentation of the devfreq_dev_profile.target callback, set
the freq argument to the new frequency before returning.

This caused endless messages like this after recent changes in the core:

devfreq 6000c800.actmon: Couldn't update frequency transition information.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reported-by: Tyler Baker <tyler.baker@linaro.org>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/tegra-devfreq.c