From: Viresh Kumar Date: Fri, 1 Feb 2013 05:42:58 +0000 (+0000) Subject: cpufreq: governors: Reset tunables only for cpufreq_unregister_governor() X-Git-Tag: v3.9-rc1~146^2~3^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b394058f064848deac7a7cd6942b6521d7b3fe1d;p=pandora-kernel.git cpufreq: governors: Reset tunables only for cpufreq_unregister_governor() Currently, whenever governor->governor() is called for CPUFRREQ_GOV_START event we reset few tunables of governor. Which isn't correct, as this routine is called for every cpu hot-[un]plugging event. We should actually be resetting these only when the governor module is removed and re-installed. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed