]> git.itanic.dy.fi Git - linux-stable/commit
pwm: lpc18xx-sct: Don't modify the cached period of other PWM outputs
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 9 Dec 2023 23:00:46 +0000 (00:00 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 20 Dec 2023 16:01:43 +0000 (17:01 +0100)
commit4430d02dc1dfb811b0b39bb58662f006f1e4749d
treee61157286710c4738c177588bd6f35fd86ddd1c7
parentb41ccc3bc9da96678c1db31b9ed021b8388657f6
pwm: lpc18xx-sct: Don't modify the cached period of other PWM outputs

Even though the hardware only supports a single period for all PWM
outputs, modifying the other (disabled) outputs's period is strange and
wrong. Only the pwm core is supposed to update these values.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpc18xx-sct.c