kernel/drivers/pwm/pwm-cros-ec.c
.. .. @@ -154,6 +154,7 @@ 154 154 155 155 state->enabled = (ret > 0); 156 156 state->period = EC_PWM_MAX_DUTY; 157 + state->polarity = PWM_POLARITY_NORMAL;157 158 158 159 /* 159 160 * Note that "disabled" and "duty cycle == 0" are treated the same. If