Hi! Commit 76fe464c8e64e71b2e4af11edeef0e5d85eeb6aa ("leds: pwm: Don't disable the PWM when the LED should be off") prevents stm32mp1xx based targets from entering suspend if pwm-leds exist, as the stm32 PWM driver refuses to enter suspend if any PWM channels are still active ("PWM 0 still in use by consumer" see stm32_pwm_suspend in drivers/pwm/stm32-pwm.c). Reverting the mentioned commit fixes this behaviour but I'm not certain if this is a problem with stm32-pwm or pwm-leds (what is the usual behaviour for suspend with active PWM channels?). - Jakob
Forwarded by mail: https://lore.kernel.org/regressions/5da6cf8a-4250-42f6-8b39-13bff7fcdd9c@leemhuis.info/
See https://lore.kernel.org/linux-leds/2vbwacjy25z5vekylle3ehwi3be4urm6bssrbg6bxobtdlekt4@mazicwtgf4qb for an (untested) fix.
Thank you for the quick fix! Seems to be working fine - at least on my specific hardware (STM32MP157).