lkml.org 
[lkml]   [2013]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Add devfreq runtime pm support
Date
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



\
 
 \ /
  Last update: 2013-03-27 15:41    [W:0.092 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site