[PATCH 5.10 134/289] pwm: atmel: Fix duty cycle calculation in .get_state()