Re: [PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-14 Thread Rafael J. Wysocki
On Thursday, November 13, 2014 03:10:07 PM Pavel Machek wrote: > On Mon 2014-11-10 19:39:19, Geert Uytterhoeven wrote: > > PM domains are powered on/off from various places. Some callers do > > latency measurements, others don't. Consolidate using two helper > > functions, which always measure the

Re: [PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-14 Thread Rafael J. Wysocki
On Thursday, November 13, 2014 03:10:07 PM Pavel Machek wrote: On Mon 2014-11-10 19:39:19, Geert Uytterhoeven wrote: PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the

Re: [PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-13 Thread Pavel Machek
On Mon 2014-11-10 19:39:19, Geert Uytterhoeven wrote: > PM domains are powered on/off from various places. Some callers do > latency measurements, others don't. Consolidate using two helper > functions, which always measure the latencies, and update the stored > latencies when needed. > > Other

Re: [PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-13 Thread Pavel Machek
On Mon 2014-11-10 19:39:19, Geert Uytterhoeven wrote: PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the latencies, and update the stored latencies when needed. Other minor

[PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-10 Thread Geert Uytterhoeven
PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the latencies, and update the stored latencies when needed. Other minor changes: - Use pr_warn() instead of pr_warning(), -

[PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-10 Thread Geert Uytterhoeven
PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the latencies, and update the stored latencies when needed. Other minor changes: - Use pr_warn() instead of pr_warning(), -