summaryrefslogtreecommitdiff
path: root/usr/Kconfig
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-01 12:54:29 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-03 00:13:24 +0200
commitc95b7595f85c688d5c569ddbbd6ab6a4bdae2f36 (patch)
treef94c10c0c704e8b847389127f90d93e6887d97d2 /usr/Kconfig
parent3cd7957e85e67120bb9f6bfb75d81dcc19af282b (diff)
ACPI: PM: Introduce "poweroff" callbacks for ACPI PM domain and LPSS
In general, it is not correct to call pm_generic_suspend(), pm_generic_suspend_late() and pm_generic_suspend_noirq() during the hibernation's "poweroff" transition, because device drivers may provide special callbacks to be invoked then and the wrappers in question cause system suspend callbacks to be run. Unfortunately, that happens in the ACPI PM domain and ACPI LPSS. To address this potential issue, introduce "poweroff" callbacks for the ACPI PM and LPSS that will use pm_generic_poweroff(), pm_generic_poweroff_late() and pm_generic_poweroff_noirq() as appropriate. Fixes: 05087360fd7a (ACPI / PM: Take SMART_SUSPEND driver flag into account) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'usr/Kconfig')
0 files changed, 0 insertions, 0 deletions