diff options
| author | Xiaotian Feng <[email protected]> | 2009-08-20 18:28:33 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2009-09-14 18:27:00 +0000 |
| commit | 3eb132c986f04f64b9c360abd67a1e0d18d6d5b4 (patch) | |
| tree | d51e8e2d3d9de0ad365f1f0c4cdcc02aa72b1aaa /lib/debugobjects.c | |
| parent | PM: Update kerneldoc comments in drivers/base/power/main.c (diff) | |
| download | kernel-3eb132c986f04f64b9c360abd67a1e0d18d6d5b4.tar.gz kernel-3eb132c986f04f64b9c360abd67a1e0d18d6d5b4.zip | |
PM: Reset transition_started at dpm_resume_noirq
transition_started should be set once the preparation of devices for
a PM has started, reset before starting to resume devices. When
resuming devices, kernel calls dpm_resume_noirq then
dpm_resume_end(dpm_resume). Thus we should reset transition_started
at dpm_resume_noirq.
This patch fixes ACPI warning when resuming from suspend/hibernate:
ACPI: \_SB_.PCI0.IDE1.PRI1.MAS1 - docking
------------[ cut here ]------------
WARNING: at drivers/base/power/main.c:87 device_pm_add+0x8b/0xcc()
Hardware name: OptiPlex 760
Device: acpi
Parentless device registered during a PM transaction
[rjw: Fixed up the changelog.]
Signed-off-by: Xiaotian Feng <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
