mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
Merge tag 'pwm/for-6.13-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
Pull pwm fix from Uwe Kleine-König: "Fix regression in pwm-stm32 driver when converting to new waveform support Fabrice Gasnier found and fixed a regression I introduced with v6.13-rc1 when converting the stm32 pwm driver to support the new waveform stuff. On some hardware variants this completely broke the driver" * tag 'pwm/for-6.13-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: pwm: stm32: Fix complementary output in round_waveform_tohw()
This commit is contained in:
@@ -84,7 +84,7 @@ static int stm32_pwm_round_waveform_tohw(struct pwm_chip *chip,
|
||||
|
||||
wfhw->ccer = TIM_CCER_CCxE(ch + 1);
|
||||
if (priv->have_complementary_output)
|
||||
wfhw->ccer = TIM_CCER_CCxNE(ch + 1);
|
||||
wfhw->ccer |= TIM_CCER_CCxNE(ch + 1);
|
||||
|
||||
rate = clk_get_rate(priv->clk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user