pwm: repair code merged
pwm: repair completely