All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] PM / Runtime: Improvements for parent/child relations
@ 2016-10-17 18:16 Ulf Hansson
  2016-10-17 18:16 ` [PATCH 1/4] PM / Runtime: Remove the exported function pm_children_suspended() Ulf Hansson
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Ulf Hansson @ 2016-10-17 18:16 UTC (permalink / raw)
  To: Rafael J. Wysocki, Alan Stern, Ulf Hansson, linux-pm
  Cc: Len Brown, Pavel Machek, Kevin Hilman, Geert Uytterhoeven,
	Lina Iyer, Jon Hunter, Marek Szyprowski, Linus Walleij

While working on improving the pm_runtime_force_suspend|resume() helpers [1], I
bumped into some code in the runtime PM core, which I think deserves some
improvement. Particularly these changes concerns parent-child management.

[1]
https://marc.info/?l=linux-pm&m=147637080702518&w=2

Ulf Hansson (4):
  PM / Runtime: Remove the exported function pm_children_suspended()
  PM / Runtime: Clarify comment in rpm_resume() when resuming the parent
  PM / Runtime: Convert pm_runtime_set_suspended() to return an int
  PM / Runtime: Don't allow to suspend a device with an active child

 drivers/base/power/runtime.c | 19 +++++++++++++++----
 include/linux/pm_runtime.h   | 11 ++---------
 2 files changed, 17 insertions(+), 13 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-10-26 11:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 18:16 [PATCH 0/4] PM / Runtime: Improvements for parent/child relations Ulf Hansson
2016-10-17 18:16 ` [PATCH 1/4] PM / Runtime: Remove the exported function pm_children_suspended() Ulf Hansson
2016-10-21 12:20   ` Linus Walleij
2016-10-17 18:16 ` [PATCH 2/4] PM / Runtime: Clarify comment in rpm_resume() when resuming the parent Ulf Hansson
2016-10-21 12:21   ` Linus Walleij
2016-10-17 18:17 ` [PATCH 3/4] PM / Runtime: Convert pm_runtime_set_suspended() to return an int Ulf Hansson
2016-10-21 12:21   ` Linus Walleij
2016-10-17 18:17 ` [PATCH 4/4] PM / Runtime: Don't allow to suspend a device with an active child Ulf Hansson
2016-10-21 12:23   ` Linus Walleij
2016-10-25 13:59   ` Geert Uytterhoeven
2016-10-25 21:31     ` Ulf Hansson
2016-10-26  9:47       ` Geert Uytterhoeven
2016-10-26 11:30         ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.