mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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
This commit is contained in:
commit
91ab9bf7c5
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ static int rpm_check_suspend_allowed(struct device *dev)
|
|||
|
||||
/* Pending resume requests take precedence over suspends. */
|
||||
else if ((dev->power.deferred_resume
|
||||
&& dev->power.status == RPM_SUSPENDING)
|
||||
&& dev->power.runtime_status == RPM_SUSPENDING)
|
||||
|| (dev->power.request_pending
|
||||
&& dev->power.request == RPM_REQ_RESUME))
|
||||
retval = -EAGAIN;
|
||||
|
|
Loading…
Reference in a new issue