Files
Sean Nyekjaer 69f542a545 pwm: stm32: Always program polarity
Commit 7346e7a058 ("pwm: stm32: Always do lazy disabling") triggered a
regression where PWM polarity changes could be ignored.

stm32_pwm_set_polarity() was skipped due to a mismatch between the
cached pwm->state.polarity and the actual hardware state, leaving the
hardware polarity unchanged.

Fixes: 7edf736920 ("pwm: Add driver for STM32 plaftorm")
Cc: stable@vger.kernel.org # <= 6.12
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Co-developed-by: Uwe Kleine-König <ukleinek@kernel.org>
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
2026-01-11 15:25:21 +01:00
..
2025-07-17 18:37:09 +02:00
2024-09-12 14:33:11 +00:00
2024-07-10 17:52:47 +02:00