Re: [PATCH] pwm: stm32-lp: fix the check on arr and cmp registers update
From: Thierry Reding
Date: Mon Jan 30 2023 - 10:45:27 EST
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@xxxxxxxxx>