[GIT PULL] ACPI and power management fixes for v3.15-rc8

From: Rafael J. Wysocki
Date: Thu May 29 2014 - 07:25:24 EST


Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm+acpi-3.15-rc8

to receive ACPI and power management fixes for v3.15-rc8 (if
you decide to do -rc8) or for the final v3.15 (otherwise) with
top-most commit 9b961aa99b8155ecc07dd727643ca97424544256

Merge branches 'pm-cpufreq' and 'acpi-thermal'

on top of commit c7208164e66f63e3ec1759b98087849286410741

Linux 3.15-rc7

These are three stable-candidate fixes, one for the ACPI thermal
driver and two for cpufreq drivers.

Specifics:

- A workqueue is destroyed too early during the ACPI thermal driver
module unload which leads to a NULL pointer dereference in the
driver's remove callback. Fix from Aaron Lu.

- A wrong argument is passed to devm_regulator_get_optional() in
the probe routine of the cpu0 cpufreq driver which leads to
resource leaks if the driver is unbound from the cpufreq
platform device. Fix from Lucas Stach.

- A lock is missing in cpufreq_governor_dbs() which leads to
memory corruption and NULL pointer dereferences during
system suspend/resume, for example. Fix from Bibek Basu.

Thanks!


---------------

Aaron Lu (1):
ACPI / thermal: fix workqueue destroy order

Bibek Basu (1):
cpufreq: remove race while accessing cur_policy

Lucas Stach (1):
cpufreq: cpu0: drop wrong devm usage

---------------

drivers/acpi/thermal.c | 2 +-
drivers/cpufreq/cpufreq-cpu0.c | 16 +++++++++++-----
drivers/cpufreq/cpufreq_governor.c | 6 ++++++
3 files changed, 18 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/