]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PM: Split code validating need for runtime resume in ->prepare()
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 3 Oct 2017 07:11:08 +0000 (09:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 Oct 2017 13:35:50 +0000 (15:35 +0200)
commit14f7c6338fc42f89fab4fda648104d7be6f425b7
tree881d4e72a78ce0a0a50253be633265c3c4c73a15
parent01476e79544dde69132303f078c79b0620bf933d
ACPI / PM: Split code validating need for runtime resume in ->prepare()

Move the code dealing with validation of whether runtime resuming the
device is needed during system suspend.

In this way it becomes more clear for what circumstances ACPI is prevented
from trying the direct_complete path.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c