Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108991
b: refs/heads/master
c: f5a6d95
h: refs/heads/master
i:
  108989: 7a4773c
  108987: 09c532d
  108983: eacb86f
  108975: c29b5cf
  108959: 089b1a9
  108927: 4cb99ed
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Greg Kroah-Hartman committed Aug 21, 2008
1 parent f56e9e3 commit 8ab4eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c906a48adc74fc455378137ac5124b13e7030a15
refs/heads/master: f5a6d958b5d0a10e7e7a9dee1862fb31d08c6d26
6 changes: 2 additions & 4 deletions trunk/drivers/base/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ void device_pm_add(struct device *dev)
kobject_name(&dev->kobj));
mutex_lock(&dpm_list_mtx);
if (dev->parent) {
if (dev->parent->power.status >= DPM_SUSPENDING) {
dev_warn(dev, "parent %s is sleeping, will not add\n",
if (dev->parent->power.status >= DPM_SUSPENDING)
dev_warn(dev, "parent %s should not be sleeping\n",
dev->parent->bus_id);
WARN_ON(true);
}
} else if (transition_started) {
/*
* We refuse to register parentless devices while a PM
Expand Down

0 comments on commit 8ab4eb4

Please sign in to comment.