[PATCH] pwm: stm32-lp: fix the check on arr and cmp registers update

Thierry Reding thierry.reding at gmail.com
Mon Jan 30 07:45:04 PST 2023


On Wed, 23 Nov 2022 14:36:52 +0100, Fabrice Gasnier wrote:
> The ARR (auto reload register) and CMP (compare) registers are
> successively written. The status bits to check the update of these
> registers are polled together with regmap_read_poll_timeout().
> The condition to end the loop may become true, even if one of the
> register isn't correctly updated.
> So ensure both status bits are set before clearing them.
> 
> [...]

Applied, thanks!

[1/1] pwm: stm32-lp: fix the check on arr and cmp registers update
      commit: 3066bc2d58be31275afb51a589668f265e419c37

Best regards,
-- 
Thierry Reding <thierry.reding at gmail.com>



More information about the linux-arm-kernel mailing list