aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-12-11 16:30:01 +0530
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-25 13:25:06 +0400
commit3bc1b52916e708f9a6951aba47477be5d6884fca (patch)
tree98591f813ea631b0a0536963e5504b672d89e1c4 /crypto
parent561a989c0884475cafa5b325663b02c72e214942 (diff)
cpufreq: cpufreq_stats: Register for bL_switcher notifiers
cpufreq_stat has registered notifiers with both cpufreq and cpu core. It adds cpu/cpu0/cpufreq/stats/ directory with a notifier of cpufreq CPUFREQ_NOTIFY and removes this directory with a notifier to cpu core. On bL_switcher enable/disable, cpufreq drivers notifiers gets called and they call cpufreq_unregister(), followed by cpufreq_register(). For unregister stats directories per cpu aren't removed, because cpu never went to dead state and cpu notifier isn't called. When cpufreq_register() is called, we try to add these directories again and that simply fails, as directories were already present. Fix these issues by registering cpufreq_stats too with bL_switcher notifiers, so that they get unregistered and registered on switcher enable/disable. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions