[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdW6TQFZJ_r+XZOuh7yTUKwZxQRCr4Ps-xZ8U702xMd1=w@mail.gmail.com>
Date: Tue, 30 Sep 2025 12:20:57 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Claudiu Beznea <claudiu.beznea@...on.dev>
Cc: linus.walleij@...aro.org, biju.das.jz@...renesas.com,
linux-renesas-soc@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Claudiu Beznea <claudiu.beznea.uj@...renesas.com>, stable@...r.kernel.org
Subject: Re: [PATCH v2] pinctrl: renesas: rzg2l: Fix ISEL restore on resume
Hi Claudiu,
On Tue, 30 Sept 2025 at 07:33, Claudiu Beznea <claudiu.beznea@...on.dev> wrote:
> On 9/29/25 15:10, Claudiu Beznea wrote:
> >> This conflicts with commit d57183d06851bae4 ("pinctrl: renesas: rzg2l:
> >> Drop unnecessary pin configurations"), which I have already queued
> >> in renesas-drivers/renesas-pinctrl-for-v6.19. Hence I am replacing
> >> the above hunk by:
> >>
> >> /* Switching to GPIO is not required if reset value is
> >> same as func */
> >> reg = readb(pctrl->base + PMC(off));
> >> - spin_lock_irqsave(&pctrl->lock, flags);
> >> + raw_spin_lock_irqsave(&pctrl->lock, flags);
> >> pfc = readl(pctrl->base + PFC(off));
> >> if ((reg & BIT(pin)) && (((pfc >> (pin * 4)) & PFC_MASK) == func)) {
> >> - spin_unlock_irqrestore(&pctrl->lock, flags);
> >> + raw_spin_unlock_irqrestore(&pctrl->lock, flags);
> >> return;
> >> }
> >>
> >> while applying.
> > This is right. Thank you! I'm going to give it also a try (on actual HW) a
> > bit later. I'll let you know.
>
> Sorry for the delay, all looks good to me (checked on RZ/G3S).
Given this is a fix which will be backported, I will reshuffle both
commits, so your fix is first, and the above no longer applies (here).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists