diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-04 02:54:27 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-10 00:22:18 +0100 |
commit | b9ea0bae260f6aae546db224daa6ac1bd9d94b91 (patch) | |
tree | 69ef0ba9db4e2eec6a561ce00967e6e8e45e879b /Kbuild | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-b9ea0bae260f6aae546db224daa6ac1bd9d94b91.tar.bz2 |
ACPI: PM: Avoid attaching ACPI PM domain to certain devices
Certain ACPI-enumerated devices represented as platform devices in
Linux, like fans, require special low-level power management handling
implemented by their drivers that is not in agreement with the ACPI
PM domain behavior. That leads to problems with managing ACPI fans
during system-wide suspend and resume.
For this reason, make acpi_dev_pm_attach() skip the affected devices
by adding a list of device IDs to avoid to it and putting the IDs of
the affected devices into that list.
Fixes: e5cc8ef31267 (ACPI / PM: Provide ACPI PM callback routines for subsystems)
Reported-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions