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)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 31 Jan 2017 06:47:32 +0000 (15:47 +0900)
commit30582c25a4b4e0a5e456a309fde79b845e9473b2
treefa6fe105766dcb2e1e8f0fbabbb5cd9354385014
parentbcf23c79c4e46130701370af4383b61a3cba755c
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