From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Rabin Vincent <rabin@rab.in>
Cc: Abhijeet Dharmapurikar <adharmap@codeaurora.org>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Jean Delvare <khali@linux-fr.org>, Rajendra Nayak <rnayak@ti.com>,
Kevin Hilman <khilman@deeprootsystems.com>,
Vishwanath BS <vishwanath.bs@ti.com>,
Partha Basak <p-basak2@ti.com>,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-pm@lists.linux-foundation.org, linux-i2c@vger.kernel.org
Subject: Re: i2c runtime suspend and system wide suspend
Date: Thu, 30 Dec 2010 11:49:30 +0100 [thread overview]
Message-ID: <201012301149.30888.rjw@sisk.pl> (raw)
In-Reply-To: <AANLkTinqqgNwgFCMVL-2T83zKnNLGLF007atJ4-EDEW5@mail.gmail.com>
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
next prev parent reply other threads:[~2010-12-30 10:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 4:39 i2c runtime suspend and system wide suspend Abhijeet Dharmapurikar
2010-12-30 6:32 ` Rabin Vincent
2010-12-30 6:32 ` Rabin Vincent
2010-12-30 10:49 ` Rafael J. Wysocki [this message]
2010-12-30 11:35 ` Mark Brown
2010-12-30 11:35 ` Mark Brown
2010-12-30 10:49 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201012301149.30888.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=adharmap@codeaurora.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=khali@linux-fr.org \
--cc=khilman@deeprootsystems.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=p-basak2@ti.com \
--cc=rabin@rab.in \
--cc=rnayak@ti.com \
--cc=vishwanath.bs@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.