From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: lucas.de.marchi@gmail.com
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
Wolfram Sang <wsa@the-dreams.de>,
Jarkko Nikula <jarkko.nikula@linux.intel.com>,
Fabio Mello <fabio.mello@intel.com>,
Lucas De Marchi <lucas.demarchi@intel.com>
Subject: Re: [PATCH] i2c: designware: use enable on resume instead initialization
Date: Wed, 10 Jun 2015 10:55:55 +0300 [thread overview]
Message-ID: <20150610075555.GO1478@lahna.fi.intel.com> (raw)
In-Reply-To: <1433785828-4100-1-git-send-email-lucas.de.marchi@gmail.com>
On Mon, Jun 08, 2015 at 02:50:28PM -0300, lucas.de.marchi@gmail.com wrote:
> @@ -320,7 +320,7 @@ static int dw_i2c_resume(struct device *dev)
> clk_prepare_enable(i_dev->clk);
>
> if (!i_dev->pm_runtime_disabled)
> - i2c_dw_init(i_dev);
> + i2c_dw_enable(i_dev);
This will not work if the device power gets removed (for example being
put to D3cold) as it looses context.
next prev parent reply other threads:[~2015-06-10 7:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 17:50 [PATCH] i2c: designware: use enable on resume instead initialization lucas.de.marchi
2015-06-09 8:51 ` Mika Westerberg
2015-06-09 18:29 ` Lucas De Marchi
2015-06-10 7:07 ` Mika Westerberg
[not found] ` <OF847FFF39.1FF5F96A-ONC1257E60.00506AFD-C1257E60.0052A8CE@alitech.com>
2015-06-11 9:38 ` Mika Westerberg
2015-06-11 14:48 ` Lucas De Marchi
[not found] ` <OF847FFF39.1FF5F96A-ONC1257E60.00506AFD-C1257E60.0052A8CE@LocalDomain>
2015-06-23 16:45 ` christian.ruppert
2015-06-23 17:02 ` Lucas De Marchi
2015-06-24 7:36 ` christian.ruppert
2015-06-24 11:27 ` Mika Westerberg
2015-06-24 12:56 ` De Marchi, Lucas
2015-06-24 13:18 ` mika.westerberg
2015-06-24 14:06 ` christian.ruppert
2015-06-10 7:55 ` Mika Westerberg [this message]
2015-06-12 22:45 ` Lucas De Marchi
2015-06-15 9:29 ` Mika Westerberg
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=20150610075555.GO1478@lahna.fi.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=fabio.mello@intel.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lucas.de.marchi@gmail.com \
--cc=lucas.demarchi@intel.com \
--cc=wsa@the-dreams.de \
/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