[PATCH v2 5.10-stable] gpio: mvebu: fix pwm .get_state period calculation