Re: [regression] stm32mp1xx based targets stopped entering suspend if pwm-leds exist

From: Lee Jones
Date: Wed Apr 17 2024 - 10:51:37 EST


On Tue, 16 Apr 2024, Uwe Kleine-König wrote:

> Hey Lee,
>
> On Tue, Apr 16, 2024 at 01:15:19PM +0100, Lee Jones wrote:
> > On Tue, 16 Apr 2024, Linux regression tracking (Thorsten Leemhuis) wrote:
> >
> > > On 06.03.24 09:18, Uwe Kleine-König wrote:
> > > > On Wed, Mar 06, 2024 at 08:05:15AM +0100, Linux regression tracking (Thorsten Leemhuis) wrote:
> > > > > [...]
> > >
> > > Jakob confirmed it helped in the bugzilla ticket. But the patch since
> > > then didn't make any progress afaics -- or did it and I just missed it
> > > in my search?
> >
> > [...]
> >
> > > > ---->8----
> > > > From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > > > Subject: [PATCH] leds: pwm: Disable PWM when going to suspend
> > > >
> > > > On stm32mp1xx based machines (and others) a PWM consumer has to disable
> > > > the PWM because an enabled PWM refuses to suspend. So check the
> > > > LED_SUSPENDED flag and depending on that set the .enabled property.
> > > >
> > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=218559
> > > > Fixes: 76fe464c8e64 ("leds: pwm: Don't disable the PWM when the LED should be off")
> > > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > > > ---
> > > > [...]
> > > > ---->8----
> >
> > Did you submit this? I don't see it in LORE or in my inbox.
>
> Yeah sure, apply it using:
>
> curl -s https://lore.kernel.org/all/2vbwacjy25z5vekylle3ehwi3be4urm6bssrbg6bxobtdlekt4@mazicwtgf4qb/raw | git am --scissors -s

Nice try!

> :-)
>
> If you don't consider that suitable, I can create a patch that is easier
> to pick up.

Yes, please submit it properly.

--
Lee Jones [李琼斯]