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