public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: "Martin Hundebøll" <martin@geanix.com>
Cc: stable@vger.kernel.org, Anson Huang <anson.huang@nxp.com>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH] gpio: mxc: move gpio noirq suspend/resume to syscore phase
Date: Sun, 17 Feb 2019 20:38:47 -0500	[thread overview]
Message-ID: <20190218013847.GR10616@sasha-vm> (raw)
In-Reply-To: <20190217220533.113017-1-martin@geanix.com>

On Sun, Feb 17, 2019 at 11:05:33PM +0100, Martin Hundebøll wrote:
>From: Anson Huang <anson.huang@nxp.com>
>
>commit 1a5287a3dbc34cd0c02c8f64c9131bd23cdfe2bb upstream.
>
>During noirq suspend/resume phase, GPIO irq could arrive
>and its registers like IMR will be changed by irq handle
>process, to make the GPIO registers exactly when it is
>powered ON after resume, move the GPIO noirq suspend/resume
>callback to syscore suspend/resume phase, local irq is
>disabled at this phase so GPIO registers are atomic.
>
>Fixes: c19fdaeea0aa ("gpio: mxc: add power management support")
>Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
>Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>Signed-off-by: Martin Hundebøll <martin@geanix.com>
>Cc: <stable@vger.kernel.org> # 4.19.x+

Queued for 4.19 and 4.20, thank you.

--
Thanks,
Sasha

      reply	other threads:[~2019-02-18  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-17 22:05 [PATCH] gpio: mxc: move gpio noirq suspend/resume to syscore phase Martin Hundebøll
2019-02-18  1:38 ` Sasha Levin [this message]

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=20190218013847.GR10616@sasha-vm \
    --to=sashal@kernel.org \
    --cc=anson.huang@nxp.com \
    --cc=linus.walleij@linaro.org \
    --cc=martin@geanix.com \
    --cc=stable@vger.kernel.org \
    /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