forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/drivers/pwm/pwm-cros-ec.c
....@@ -154,6 +154,7 @@
154154
155155 state->enabled = (ret > 0);
156156 state->period = EC_PWM_MAX_DUTY;
157
+ state->polarity = PWM_POLARITY_NORMAL;
157158
158159 /*
159160 * Note that "disabled" and "duty cycle == 0" are treated the same. If