aboutsummaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorGravatar Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> 2014-01-27 22:50:35 -0500
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2014-01-28 22:36:30 +0100
commiteb8c68ef558e6cba241e7ada54f6b3427cb2bf68 (patch)
treec80171d39e7245f02f60d1b6088124316aa9cc27 /drivers/devfreq
parentthermal: exynos: boost: Automatic enable/disable of BOOST feature (at Exynos4... (diff)
downloadlinux-eb8c68ef558e6cba241e7ada54f6b3427cb2bf68.tar.gz
linux-eb8c68ef558e6cba241e7ada54f6b3427cb2bf68.tar.bz2
linux-eb8c68ef558e6cba241e7ada54f6b3427cb2bf68.zip
acpi-cpufreq: De-register CPU notifier and free struct msr on error.
If cpufreq_register_driver() fails we would free the acpi driver related structures but not free the ones allocated by acpi_cpufreq_boost_init() function. This meant that as the driver error-ed out and a CPU online/offline event came we would crash and burn as one of the CPU notifiers would point to garbage. Fixes: cfc9c8ed03e4 (acpi-cpufreq: Adjust the code to use the common boost attribute) Acked-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions