UPSTREAM: pwm: rockchip: Fix period and duty cycle approximation