linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add devfreq runtime pm support
@ 2013-03-27 13:52 Rajagopal Venkat
  2013-03-27 13:52 ` [PATCH v2 1/2] PM / devfreq: Fix compiler warnings Rajagopal Venkat
  2013-03-27 13:52 ` [PATCH v2 2/2] PM / devfreq: tie suspend/resume to runtime-pm Rajagopal Venkat
  0 siblings, 2 replies; 8+ messages in thread
From: Rajagopal Venkat @ 2013-03-27 13:52 UTC (permalink / raw)
  To: myungjoo.ham, rjw, Kevin Hilman, Alan Stern
  Cc: patches, linaro-kernel, linux-pm, linux-kernel, Rajagopal Venkat

Patch to bind devfreq to runtime pm framework. Instead of explicitly
using devfreq_suspend_device() and devfreq_resume_device() apis for
devfreq core suspend/resume, let runtime-pm core handle it automatically.

Suspend device devfreq core load monitoring with pm_runtime_suspend() and
resume back on pm_runtime_resume().

Discussed at http://comments.gmane.org/gmane.linux.linaro.devel/13787

Changes from v1:
- improved change log and code comments
- added NULL check for devfreq runtime-pm callbacks
-----

Rajagopal Venkat (2):
  PM / devfreq: Fix compiler warnings
  PM / devfreq: tie suspend/resume to runtime-pm

 drivers/base/power/runtime.c |   21 ++++++++++++-
 drivers/devfreq/devfreq.c    |   69 +++++++++++++++++++++++++++++++++++++++---
 include/linux/devfreq.h      |   30 ++++++------------
 include/linux/pm.h           |    2 ++
 4 files changed, 97 insertions(+), 25 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-04-04 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 13:52 [PATCH v2 0/2] Add devfreq runtime pm support Rajagopal Venkat
2013-03-27 13:52 ` [PATCH v2 1/2] PM / devfreq: Fix compiler warnings Rajagopal Venkat
2013-03-28  6:03   ` MyungJoo Ham
2013-04-02  0:16     ` Rafael J. Wysocki
2013-03-27 13:52 ` [PATCH v2 2/2] PM / devfreq: tie suspend/resume to runtime-pm Rajagopal Venkat
2013-04-03 18:16   ` Kevin Hilman
2013-04-04 10:41     ` Rajagopal Venkat
2013-04-04 10:48     ` Rajagopal Venkat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).