summaryrefslogtreecommitdiff
path: root/include/asm-sh/hd64465/git@radix-linux.su:pub/kernel/linux.git
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>2024-12-17 18:00:21 +0300
committerUwe Kleine-König <ukleinek@kernel.org>2024-12-18 13:08:36 +0300
commitedc19bd0e571c732cd01c8da62f904e6d2a29a48 (patch)
tree96272a0dc1e82a7855cbb195dd166adc6e95ce90 /include/asm-sh/hd64465/git@radix-linux.su:pub/kernel/linux.git
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-edc19bd0e571c732cd01c8da62f904e6d2a29a48.tar.xz
pwm: stm32: Fix complementary output in round_waveform_tohw()
When the timer supports complementary output, the CCxNE bit must be set additionally to the CCxE bit. So to not overwrite the latter use |= instead of = to set the former. Fixes: deaba9cff809 ("pwm: stm32: Implementation of the waveform callbacks") Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20241217150021.2030213-1-fabrice.gasnier@foss.st.com [ukleinek: Slightly improve commit log] Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'include/asm-sh/hd64465/git@radix-linux.su:pub/kernel/linux.git')
0 files changed, 0 insertions, 0 deletions