Re: [PATCH v2 2/2] PM / devfreq: Add suspend frequency support

2017-01-30 Thread Chanwoo Choi
Hi Viresh, On 2017년 01월 30일 13:50, Viresh Kumar wrote: > On Wed, Dec 28, 2016 at 5:37 PM, Chanwoo Choi wrote: >> +++ b/drivers/devfreq/devfreq.c >> @@ -620,6 +620,23 @@ struct devfreq *devfreq_add_device(struct device *dev, >> goto err_init; >> } >> >> + /* >> +

Re: [PATCH v2 2/2] PM / devfreq: Add suspend frequency support

2017-01-29 Thread Viresh Kumar
On Wed, Dec 28, 2016 at 5:37 PM, Chanwoo Choi wrote: > +++ b/drivers/devfreq/devfreq.c > @@ -620,6 +620,23 @@ struct devfreq *devfreq_add_device(struct device *dev, > goto err_init; > } > > + /* > +* Get the suspend frequency from OPP table. But the devfreq de

[PATCH v2 2/2] PM / devfreq: Add suspend frequency support

2016-12-28 Thread Chanwoo Choi
From: Lin Huang Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Signed-off-by: Lin Huang [cw00.choi: Support the passive governor and use separate devfreq_set_target()] Signed-off-by: Chanw