Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275625
b: refs/heads/master
c: af8db15
h: refs/heads/master
i:
  275623: 888e64d
v: v3
  • Loading branch information
Peter Chen authored and Rafael J. Wysocki committed Nov 15, 2011
1 parent 00349bc commit 0de107b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c81f90588972b8631bda4d538ffd0199a3e1b41
refs/heads/master: af8db1508f2c9f3b6e633e2d2d906c6557c617f9
3 changes: 3 additions & 0 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/kallsyms.h>
#include <linux/mutex.h>
#include <linux/async.h>
#include <linux/pm_runtime.h>

#include "base.h"
#include "power/power.h"
Expand Down Expand Up @@ -1742,6 +1743,8 @@ void device_shutdown(void)
*/
list_del_init(&dev->kobj.entry);
spin_unlock(&devices_kset->list_lock);
/* Disable all device's runtime power management */
pm_runtime_disable(dev);

if (dev->bus && dev->bus->shutdown) {
dev_dbg(dev, "shutdown\n");
Expand Down

0 comments on commit 0de107b

Please sign in to comment.