diff options
Diffstat (limited to 'include/linux/pm_runtime.h')
-rw-r--r-- | include/linux/pm_runtime.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h index 6e81888c6222..5ea4b1582b07 100644 --- a/include/linux/pm_runtime.h +++ b/include/linux/pm_runtime.h | |||
@@ -67,7 +67,8 @@ static inline void device_set_run_wake(struct device *dev, bool enable) | |||
67 | 67 | ||
68 | static inline bool pm_runtime_suspended(struct device *dev) | 68 | static inline bool pm_runtime_suspended(struct device *dev) |
69 | { | 69 | { |
70 | return dev->power.runtime_status == RPM_SUSPENDED; | 70 | return dev->power.runtime_status == RPM_SUSPENDED |
71 | && !dev->power.disable_depth; | ||
71 | } | 72 | } |
72 | 73 | ||
73 | #else /* !CONFIG_PM_RUNTIME */ | 74 | #else /* !CONFIG_PM_RUNTIME */ |