[BUG] Rockchip SPI: Runtime PM usage count underflow!

Diederik de Haas didi.debian at cknow.org
Mon Aug 19 07:51:21 PDT 2024


On Mon Aug 19, 2024 at 4:37 PM CEST, Vicente Bergas wrote:
> On Mon, Aug 19, 2024 at 3:33 PM Diederik de Haas <didi.debian at cknow.org> wrote:
> > On Mon Aug 19, 2024 at 3:14 PM CEST, Vicente Bergas wrote:
> > > On Mon, Aug 19, 2024 at 2:49 PM Vicente Bergas <vicencb at gmail.com> wrote:
> > > > Added:
> > > > Huang-Huang Bao <i at eh5.me>
> > > > Linus Walleij <linus.walleij at linaro.org>
> > > > Sasha Levin <sashal at kernel.org>
> > > >
> > > > The first offending commit is:
> > > > 29d8101fb9442544077e68e27839a1979f85633d pinctrl: rockchip: fix pinmux
> > > > bits for RK3328 GPIO2-B pins
> > > >
> > > > I've also tested 6.10.6 with it reverted (and
> > > > 456447ff1fe3c28e2fd7b57a79650f62245c6428 and
> > > > 7127c68c76f120367b9a5053f524df0b603d4a48 as dependencies) and SPI
> > > > works fine.
> > >
> > > Sorry for the noise:
> > > reverting only 29d8101fb9442544077e68e27839a1979f85633d makes it work on 6.10.6.
> > > Ignore what i said about 456447ff1fe3c28e2fd7b57a79650f62245c6428 and
> > > 7127c68c76f120367b9a5053f524df0b603d4a48.
> >
> > Please try if unreverting that commit and adding the following:
> > https://lore.kernel.org/linux-rockchip/20240709105428.1176375-1-i@eh5.me/
> >
> > fixes the issue as well.
>
> I confirm that 6.10.6 without any reverts plus
> 20240709105428.1176375-1-i at eh5.me also fixes the issue.

It would be great if that patch got accepted to fix the breakage,
including on a number of stable kernel versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20240819/63b62943/attachment.sig>


More information about the Linux-rockchip mailing list