summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-15 19:04:26 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-19 19:37:22 +0200
commita9a8f827f9e81dc8506d3283d166cd6efe822302 (patch)
tree9fb0e6edc08365926847e5e81a1e80f8588ba75f /drivers/acpi/sleep.c
parentACPI: PM: Fix sharing of wakeup power resources (diff)
downloadlinux-a9a8f827f9e81dc8506d3283d166cd6efe822302.tar.xz
linux-a9a8f827f9e81dc8506d3283d166cd6efe822302.zip
ACPI: PM: Turn off wakeup power resources on _DSW/_PSW errors
If acpi_device_sleep_wake() called by acpi_enable_wakeup_device_power() returns an error which means that the evaluation of either _DWS or _PSW has failed, turn off all of the device's wakeup power resources to be consistent with the clearing of dev->wakeup.prepare_count. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions