diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2017-01-31 15:38:17 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-01-31 15:47:32 +0900 |
commit | 30582c25a4b4e0a5e456a309fde79b845e9473b2 (patch) | |
tree | fa6fe105766dcb2e1e8f0fbabbb5cd9354385014 /drivers/devfreq/governor.h | |
parent | bcf23c79c4e46130701370af4383b61a3cba755c (diff) | |
download | blackbird-op-linux-30582c25a4b4e0a5e456a309fde79b845e9473b2.tar.gz blackbird-op-linux-30582c25a4b4e0a5e456a309fde79b845e9473b2.zip |
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>
Diffstat (limited to 'drivers/devfreq/governor.h')
-rw-r--r-- | drivers/devfreq/governor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/governor.h b/drivers/devfreq/governor.h index fad7d6321978..71576b8bdfef 100644 --- a/drivers/devfreq/governor.h +++ b/drivers/devfreq/governor.h @@ -38,4 +38,6 @@ extern void devfreq_interval_update(struct devfreq *devfreq, extern int devfreq_add_governor(struct devfreq_governor *governor); extern int devfreq_remove_governor(struct devfreq_governor *governor); +extern int devfreq_update_status(struct devfreq *devfreq, unsigned long freq); + #endif /* _GOVERNOR_H */ |