Commit 91ab9bf7 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6

* 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
  PM / Runtime: Fix typo in status comparison causing warning
parents b7bdcc47 78ca7c37
...@@ -143,7 +143,7 @@ static int rpm_check_suspend_allowed(struct device *dev) ...@@ -143,7 +143,7 @@ static int rpm_check_suspend_allowed(struct device *dev)
/* Pending resume requests take precedence over suspends. */ /* Pending resume requests take precedence over suspends. */
else if ((dev->power.deferred_resume else if ((dev->power.deferred_resume
&& dev->power.status == RPM_SUSPENDING) && dev->power.runtime_status == RPM_SUSPENDING)
|| (dev->power.request_pending || (dev->power.request_pending
&& dev->power.request == RPM_REQ_RESUME)) && dev->power.request == RPM_REQ_RESUME))
retval = -EAGAIN; retval = -EAGAIN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment