Re: [PATCH 1/2, v2] PM / Runtime: Rework the "runtime idle" helper routine

2013-06-04 Thread Lan Tianyu
2013/6/3 Rafael J. Wysocki : > From: Rafael J. Wysocki > > The "runtime idle" helper routine, rpm_idle(), currently ignores > return values from .runtime_idle() callbacks executed by it. > However, it turns out that many subsystems use > pm_generic_runtime_idle() which checks the return value of

Re: [PATCH 1/2, v2] PM / Runtime: Rework the runtime idle helper routine

2013-06-04 Thread Lan Tianyu
2013/6/3 Rafael J. Wysocki r...@sisk.pl: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The runtime idle helper routine, rpm_idle(), currently ignores return values from .runtime_idle() callbacks executed by it. However, it turns out that many subsystems use pm_generic_runtime_idle()

Re: [PATCH 1/2, v2] PM / Runtime: Rework the "runtime idle" helper routine

2013-06-03 Thread Aaron Lu
On 06/03/2013 05:52 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The "runtime idle" helper routine, rpm_idle(), currently ignores > return values from .runtime_idle() callbacks executed by it. > However, it turns out that many subsystems use > pm_generic_runtime_idle() which checks

Re: [PATCH 1/2, v2] PM / Runtime: Rework the runtime idle helper routine

2013-06-03 Thread Aaron Lu
On 06/03/2013 05:52 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The runtime idle helper routine, rpm_idle(), currently ignores return values from .runtime_idle() callbacks executed by it. However, it turns out that many subsystems use

[PATCH 1/2, v2] PM / Runtime: Rework the "runtime idle" helper routine

2013-06-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The "runtime idle" helper routine, rpm_idle(), currently ignores return values from .runtime_idle() callbacks executed by it. However, it turns out that many subsystems use pm_generic_runtime_idle() which checks the return value of the driver's callback and executes

[PATCH 1/2, v2] PM / Runtime: Rework the runtime idle helper routine

2013-06-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The runtime idle helper routine, rpm_idle(), currently ignores return values from .runtime_idle() callbacks executed by it. However, it turns out that many subsystems use pm_generic_runtime_idle() which checks the return value of the driver's