Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 679d9980 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

Merge branch 'pm-runtime'

* pm-runtime:
  PM / runtime: Use pm_runtime_put_sync() in __device_release_driver()
parents feba070d baab52de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -499,7 +499,7 @@ static void __device_release_driver(struct device *dev)
						     BUS_NOTIFY_UNBIND_DRIVER,
						     dev);

		pm_runtime_put(dev);
		pm_runtime_put_sync(dev);

		if (dev->bus && dev->bus->remove)
			dev->bus->remove(dev);