]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PM / devfreq: Fix available_governor sysfs
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 06:38:16 +0000 (15:38 +0900)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 13 Mar 2017 21:20:54 +0000 (15:20 -0600)
commit71ff24f5efb22b02ea180c1dd9bc01d47ef53f1d
treea20c652881666373ef69892cde6b62dd7b59b6cc
parent49e42f3f5c6bf1a1888ae47a691d509f55c73754
PM / devfreq: Fix available_governor sysfs

BugLink: http://bugs.launchpad.net/bugs/1672544
commit bcf23c79c4e46130701370af4383b61a3cba755c upstream.

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")
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/devfreq/devfreq.c
drivers/devfreq/governor_passive.c
include/linux/devfreq.h