Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326659
b: refs/heads/master
c: 72bb6f9
h: refs/heads/master
i:
  326657: 3792af1
  326655: 4e22137
v: v3
  • Loading branch information
Kevin Hilman committed Sep 12, 2012
1 parent 035f419 commit eb0f3dc
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e753345bec8fef81d1e87710917f89dc75f39b2a
refs/heads/master: 72bb6f9b51c82c820ddef892455a85b115460904
4 changes: 4 additions & 0 deletions trunk/arch/arm/plat-omap/omap_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,10 @@ static int _od_suspend_noirq(struct device *dev)
struct omap_device *od = to_omap_device(pdev);
int ret;

/* Don't attempt late suspend on a driver that is not bound */
if (od->_driver_status != BUS_NOTIFY_BOUND_DRIVER)
return 0;

ret = pm_generic_suspend_noirq(dev);

if (!ret && !pm_runtime_status_suspended(dev)) {
Expand Down

0 comments on commit eb0f3dc

Please sign in to comment.