* Re: i2c runtime suspend and system wide suspend [not found] <4D1C0CFE.5010008@codeaurora.org> @ 2010-12-30 6:32 ` Rabin Vincent 2010-12-30 10:49 ` Rafael J. Wysocki 0 siblings, 1 reply; 3+ messages in thread From: Rabin Vincent @ 2010-12-30 6:32 UTC (permalink / raw) To: Abhijeet Dharmapurikar Cc: Rafael J. Wysocki, Mark Brown, Jean Delvare, Rajendra Nayak, Kevin Hilman, Vishwanath BS, Partha Basak, linux-kernel, linux-arm-msm, linux-pm, linux-i2c On Thu, Dec 30, 2010 at 10:09 AM, Abhijeet Dharmapurikar <adharmap@codeaurora.org> wrote: > The i2c-core driver mixes runtime suspend and system wide suspend, in that, > during a system wide suspend, it skips calling ->suspend if the device is > runtime suspended. > > I have an interrupt controller running over the i2c bus and that driver is > oblivious of the runtime pm framework, IOW, it doesn't do any runtime pm > calls. CONFIG_RUNTIME_PM is enabled however (for some other bus drivers). > The issue I am facing is that all such i2c devices are assumed runtime > suspended and the ->suspend for these devices is not invoked during > systemwide suspend. This was discussed on linux-pm recently. Rafael had a fix, I'm don't know whether it's applied yet: https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029567.html https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029596.html Also relevant: https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029600.html https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029658.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: i2c runtime suspend and system wide suspend 2010-12-30 6:32 ` i2c runtime suspend and system wide suspend Rabin Vincent @ 2010-12-30 10:49 ` Rafael J. Wysocki 2010-12-30 11:35 ` Mark Brown 0 siblings, 1 reply; 3+ messages in thread From: Rafael J. Wysocki @ 2010-12-30 10:49 UTC (permalink / raw) To: Rabin Vincent Cc: Abhijeet Dharmapurikar, Mark Brown, Jean Delvare, Rajendra Nayak, Kevin Hilman, Vishwanath BS, Partha Basak, linux-kernel, linux-arm-msm, linux-pm, linux-i2c On Thursday, December 30, 2010, Rabin Vincent wrote: > On Thu, Dec 30, 2010 at 10:09 AM, Abhijeet Dharmapurikar > <adharmap@codeaurora.org> wrote: > > The i2c-core driver mixes runtime suspend and system wide suspend, in that, > > during a system wide suspend, it skips calling ->suspend if the device is > > runtime suspended. > > > > I have an interrupt controller running over the i2c bus and that driver is > > oblivious of the runtime pm framework, IOW, it doesn't do any runtime pm > > calls. CONFIG_RUNTIME_PM is enabled however (for some other bus drivers). > > The issue I am facing is that all such i2c devices are assumed runtime > > suspended and the ->suspend for these devices is not invoked during > > systemwide suspend. > > This was discussed on linux-pm recently. Rafael had a fix, I'm don't know > whether it's applied yet: > > https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029567.html > https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029596.html Yes, the fix is already in the Linus' tree: f08f5a0 PM / Runtime: Fix pm_runtime_suspended() > Also relevant: > > https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029600.html > https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029658.html I'm not sure what happened to the last patch. Is there a new version? If so, is it going to be pushed through the i2c tree, or should I take it? Rafael ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: i2c runtime suspend and system wide suspend 2010-12-30 10:49 ` Rafael J. Wysocki @ 2010-12-30 11:35 ` Mark Brown 0 siblings, 0 replies; 3+ messages in thread From: Mark Brown @ 2010-12-30 11:35 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Rabin Vincent, Abhijeet Dharmapurikar, Jean Delvare, Rajendra Nayak, Kevin Hilman, Vishwanath BS, Partha Basak, linux-kernel, linux-arm-msm, linux-pm, linux-i2c On Thu, Dec 30, 2010 at 11:49:30AM +0100, Rafael J. Wysocki wrote: > On Thursday, December 30, 2010, Rabin Vincent wrote: > > https://lists.linux-foundation.org/pipermail/linux-pm/2010-December/029658.html > I'm not sure what happened to the last patch. Is there a new version? > If so, is it going to be pushed through the i2c tree, or should I take it? Jean appears to be on holiday for the Christmas vacation. I do have a new version which I'll post later today. Since it depends on the patch protoyping the generic API calls which the SPI patch also depends on it'd probably be best to merge via your tree. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-30 11:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4D1C0CFE.5010008@codeaurora.org>
2010-12-30 6:32 ` i2c runtime suspend and system wide suspend Rabin Vincent
2010-12-30 10:49 ` Rafael J. Wysocki
2010-12-30 11:35 ` Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).