[PATCH 5.12 180/363] pwm: atmel: Fix duty cycle calculation in .get_state()