Re: [PATCH update 2x] PM: Introduce core framework for run-time PM of I/O devices (rev. 16)
From: Rafael J. Wysocki <hidden>
Date: 2009-08-14 17:19:07
On Friday 14 August 2009, Magnus Damm wrote:
On Fri, Aug 14, 2009 at 5:56 AM, Rafael J. Wysocki[off-list ref] wrote:quoted
From: Rafael J. Wysocki <redacted> Subject: PM: Introduce core framework for run-time PM of I/O devices (rev. 16) Introduce a core framework for run-time power management of I/O devices. Add device run-time PM fields to 'struct dev_pm_info' and device run-time PM callbacks to 'struct dev_pm_ops'. Introduce a run-time PM workqueue and define some device run-time PM helper functions at the core level. Document all these things. Special thanks to Alan Stern for his help with the design and multiple detailed reviews of the pereceding versions of this patch and to Magnus Damm for testing feedback. Signed-off-by: Rafael J. Wysocki <redacted>I've now tested v16 with my SuperH Mobile platform device Runtime PM implementation. All seems fine and my patches for patches for drivers such as i2c master, fbdev, v4l2 and uio behave as expected. Acked-by: Magnus Damm <redacted> The patch "PM: Runtime PM v15 - Platform Device Bus Support" works well with v16 and does not need any update.
Thanks for the ACK, but I have one more update to the patch. Namely, I've decided to change the return value of the ->runtime_idle() callback to int as a result of the recent discussion on the PCI runtime PM patch from Matthew. I'll post the updated patch in a little while. Thanks, Rafael