PM / devfreq: Fix available_governor sysfs
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 06:38:16 +0000 (15:38 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:31 +0000 (14:33 +0900)
commit6c9c99df4fd406ce774aab6278b6353f980caf20
treef8fafb4fff2f84f47bbd60a7c72a8ac4bb21fff2
parent879a362ada1db7c256c02da661e8e65226829de5
PM / devfreq: Fix available_governor sysfs

The devfreq using passive governor is not able to change the governor.
So, the user can not change the governor through 'available_governor' sysfs
entry. Also, the devfreq which don't use the passive governor is not able to
change to 'passive' governor on the fly.

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_passive.c
include/linux/devfreq.h