From: Shawn Guo <shawnguo@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-arm-kernel@lists.infradead.org,
Lucas Stach <l.stach@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>, Peng Fan <peng.fan@nxp.com>,
Marek Vasut <marex@denx.de>
Subject: Re: [PATCH] soc: imx: gpcv2: Fix clock disabling imbalance in error path
Date: Mon, 21 Feb 2022 15:38:16 +0800 [thread overview]
Message-ID: <20220221073816.GR2249@dragon> (raw)
In-Reply-To: <YhMxRB3sag1vcDOt@pendragon.ideasonboard.com>
On Mon, Feb 21, 2022 at 08:29:24AM +0200, Laurent Pinchart wrote:
> Hello Shawn,
>
> On Mon, Feb 21, 2022 at 01:59:29PM +0800, Shawn Guo wrote:
> > On Fri, Feb 18, 2022 at 11:57:20PM +0200, Laurent Pinchart wrote:
> > > The imx_pgc_power_down() starts by enabling the domain clocks, and thus
> > > disables them in the error path. Commit 18c98573a4cf ("soc: imx: gpcv2:
> > > add domain option to keep domain clocks enabled") made the clock enable
> > > conditional, but forgot to add the same condition to the error path.
> > > This can result in a clock enable/disable imbalance. Fix it.
> > >
> > > Fixes: 18c98573a4cf ("soc: imx: gpcv2: add domain option to keep domain clocks enabled")
> > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> >
> > Applied, thanks!
>
> Thank you.
>
> I've noticed that Lucas' reviewed-by tag didn't end up in the commit in
> your imx/fixes branch. Depending on your rebase policy with that branch,
> you may want to ammend the commit.
Oops! Thanks for reminding, Laurent! Fixed.
Shawn
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2022-02-21 7:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 21:57 [PATCH] soc: imx: gpcv2: Fix clock disabling imbalance in error path Laurent Pinchart
2022-02-18 22:55 ` Lucas Stach
2022-02-21 5:59 ` Shawn Guo
2022-02-21 6:29 ` Laurent Pinchart
2022-02-21 7:38 ` Shawn Guo [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=20220221073816.GR2249@dragon \
--to=shawnguo@kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=marex@denx.de \
--cc=peng.fan@nxp.com \
--cc=s.hauer@pengutronix.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;
as well as URLs for NNTP newsgroup(s).