Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-4.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Rafael writes:
"Power management fix for 4.19-rc7

Fix a bug that may cause runtime PM to misbehave for some devices
after a failing or aborted system suspend which is nasty enough for
an -rc7 time frame fix."

* tag 'pm-4.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM / core: Clear the direct_complete flag on errors

+4 -1
+4 -1
drivers/base/power/main.c
··· 1713 1713 1714 1714 dpm_wait_for_subordinate(dev, async); 1715 1715 1716 - if (async_error) 1716 + if (async_error) { 1717 + dev->power.direct_complete = false; 1717 1718 goto Complete; 1719 + } 1718 1720 1719 1721 /* 1720 1722 * If a device configured to wake up the system from sleep states ··· 1728 1726 pm_wakeup_event(dev, 0); 1729 1727 1730 1728 if (pm_wakeup_pending()) { 1729 + dev->power.direct_complete = false; 1731 1730 async_error = -EBUSY; 1732 1731 goto Complete; 1733 1732 }