]> git.hungrycats.org Git - linux/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:44:11 +0000 (06:44 +0100)
commitae74de54c982372290526b616f840fdaccb1e344
tree07fd564635f7e05625cabfe07721092f8b6b0a55
parentf1aa0ed613681addbcf69944c5807faa0e1f429f
PM / devfreq: Fix wrong trans_stat of passive devfreq device

commit 30582c25a4b4e0a5e456a309fde79b845e9473b2 upstream.

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")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/devfreq/devfreq.c
drivers/devfreq/governor.h
drivers/devfreq/governor_passive.c