Commit 7ed9fd2e authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'pm-4.15-rc3' of git://

Pull power management fix from Rafael Wysocki:
 "This fixes an issue in the device runtime PM framework that prevents
  customer devices from resuming if runtime PM is disabled for one or
  more of their supplier devices (as reflected by device links between
  those devices)"

* tag 'pm-4.15-rc3' of git://
  PM / runtime: Fix handling of suppliers with disabled runtime PM
parents 968edbd9 31eb7431
......@@ -276,7 +276,8 @@ static int rpm_get_suppliers(struct device *dev)
retval = pm_runtime_get_sync(link->supplier);
if (retval < 0) {
/* Ignore suppliers with disabled runtime PM. */
if (retval < 0 && retval != -EACCES) {
return retval;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment