pwm: Set enable state properly on failed call to enable