From: Wolfram Sang <wsa@the-dreams.de>
To: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: linux-i2c@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Luis Oliveira <Luis.Oliveira@synopsys.com>
Subject: Re: [PATCH 2/2] i2c: designware: Fix runtime PM for I2C slave mode
Date: Thu, 17 Aug 2017 17:57:12 +0200 [thread overview]
Message-ID: <20170817155712.oces7tvdrrrstob4@ninjato> (raw)
In-Reply-To: <20170815143445.26167-2-jarkko.nikula@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 604 bytes --]
On Tue, Aug 15, 2017 at 05:34:45PM +0300, Jarkko Nikula wrote:
> I2C slave controller must be powered and active all the time when I2C
> slave backend is registered in order to let master address and
> communicate with us.
>
> Now if the controller is runtime PM capable it will be suspended after
> probe and cannot ever respond to the master or generate interrupts.
>
> Fix this by resuming the controller when I2C slave backend is registered
> and let it suspend after unregistering.
>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-08-17 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-15 14:34 [PATCH 1/2] i2c: designware: Remove needless pm_runtime_put_noidle() call Jarkko Nikula
2017-08-15 14:34 ` [PATCH 2/2] i2c: designware: Fix runtime PM for I2C slave mode Jarkko Nikula
2017-08-17 15:57 ` Wolfram Sang [this message]
2017-08-17 15:57 ` [PATCH 1/2] i2c: designware: Remove needless pm_runtime_put_noidle() call Wolfram Sang
2017-09-08 10:23 ` Luis Oliveira
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=20170817155712.oces7tvdrrrstob4@ninjato \
--to=wsa@the-dreams.de \
--cc=Luis.Oliveira@synopsys.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-i2c@vger.kernel.org \
--cc=mika.westerberg@linux.intel.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 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).