All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Peter Chen <peter.chen@nxp.com>
Cc: lgirdwood@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl
Date: Tue, 3 Jan 2017 11:14:59 +0000	[thread overview]
Message-ID: <20170103111459.ezab3iavnbvzh2hc@sirena.org.uk> (raw)
In-Reply-To: <1483434167-10778-1-git-send-email-peter.chen@nxp.com>

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

On Tue, Jan 03, 2017 at 05:02:47PM +0800, Peter Chen wrote:
> At some systems, the pinctrl setting will be lost or needs to
> set as "sleep" state to save power consumption. So, we need to
> configure pinctrl as "sleep" state when system enters suspend,
> and as "default" state after system resumes. In this way, the
> pinctrl value can be recovered as "default" state after resuming.

I thought this was supposed to be done automatically by the driver core?
If not it should be, every single driver is likely to end up with that.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2017-01-03 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03  9:02 [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl Peter Chen
2017-01-03 11:14 ` Mark Brown [this message]
2017-01-04  6:51   ` Peter Chen
2017-01-04  7:05   ` Peter Chen
2017-01-20  8:11   ` Peter Chen
2017-01-03 14:34 ` kbuild test robot

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=20170103111459.ezab3iavnbvzh2hc@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter.chen@nxp.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.