summaryrefslogtreecommitdiff
path: root/drivers/base/power/runtime.c
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-05-19 09:59:00 -0700
committermattis fjallstrom <mattis@acm.org>2015-05-19 09:59:00 -0700
commitfee79e7e6be98cf572d2535f3abbbdb26c50d63f (patch)
tree4e5e73a169425288a187bc5706134339c0490fdd /drivers/base/power/runtime.c
parentde4ad740cd7289d6ae06ac344ce9cdc25a269814 (diff)
downloadolio-linux-3.10-fee79e7e6be98cf572d2535f3abbbdb26c50d63f.tar.xz
olio-linux-3.10-fee79e7e6be98cf572d2535f3abbbdb26c50d63f.zip
Latest changes to the configuration, board file, gpio pins of the tps65910, no time-out for UART3, fix for reboot issue.
Change-Id: I79ab087c8406922ea5511b72f77440d97f2d5d0c
Diffstat (limited to 'drivers/base/power/runtime.c')
-rw-r--r--drivers/base/power/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c
index ef13ad08afb..f8bc937728b 100644
--- a/drivers/base/power/runtime.c
+++ b/drivers/base/power/runtime.c
@@ -958,6 +958,7 @@ int __pm_runtime_resume(struct device *dev, int rpmflags)
spin_lock_irqsave(&dev->power.lock, flags);
retval = rpm_resume(dev, rpmflags);
+ BUG_ON (dev == NULL); /* OLIO: I get weird crashes here */
spin_unlock_irqrestore(&dev->power.lock, flags);
return retval;