summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-04-30 16:32:17 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-12 14:04:16 +0200
commita97c98adddbe98e824b69e6d7b320c8dc91fe581 (patch)
tree2811ba6a9cbc3e594a74734c5c69a6a3e6683d52 /drivers/scsi
parentcpufreq: ARM big LITTLE: Improve print message (diff)
downloadlinux-a97c98adddbe98e824b69e6d7b320c8dc91fe581.tar.xz
linux-a97c98adddbe98e824b69e6d7b320c8dc91fe581.zip
cpufreq: governors: Fix CPUFREQ_GOV_POLICY_{INIT|EXIT} notifiers
There are two types of INIT/EXIT activities that we need to do for governors: - Done only once per governor (doesn't depend how many instances of the governor there are). eg: cpufreq_register_notifier() for conservative governor. - Done per governor instance, eg: sysfs_{create|remove}_group(). There were some corner cases where current code isn't able to handle them separately and so failing for some test cases. We use two separate variables now for keeping track of above two requirements. - governor->initialized for first one - dbs_data->usage_count for per governor instance Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions