[PATCH 5.13 027/223] pwm: sprd: Ensure configuring period and duty_cycle isnt wrongly skipped