PM / devfreq: Fix wrong trans_stat of passive devfreq device
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 06:38:17 +0000 (15:38 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:31 +0000 (14:33 +0900)
commitfa6f7f7fc793a22e3b52ef8ef590bf3d38dff0c6
tree77b81aeedc121d270a9f294267021cb35cbf0163
parent6c9c99df4fd406ce774aab6278b6353f980caf20
PM / devfreq: Fix wrong trans_stat of passive devfreq device

Until now, the trans_stat information of passive devfreq is not updated.
This patch updates the trans_stat information after setting the target
frequency of passive devfreq device.

Fixes: 996133119f57 ("PM / devfreq: Add new passive governor")
Cc: stable@vger.kernel.org
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c
drivers/devfreq/governor.h
drivers/devfreq/governor_passive.c