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