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