commit | 385105983abf428de55eab9a1c2464889e94cc1b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 31 17:57:25 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Jun 09 13:39:34 2017 -0600 |
tree | 05f86683de985bbcb79d21adc398b7fe55db2e7c | |
parent | c9af6673e8799dbc32b1654c152c1bf9c2454b72 [diff] |
rockchip: Setup default PWM flags At present if the Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert())
diff --git a/drivers/pwm/rk_pwm.c b/drivers/pwm/rk_pwm.c index 59eae09..28de62d 100644 --- a/drivers/pwm/rk_pwm.c +++ b/drivers/pwm/rk_pwm.c
@@ -92,6 +92,7 @@ return -EINVAL; } priv->freq = clk_get_rate(&clk); + priv->enable_conf = PWM_DUTY_POSTIVE | PWM_INACTIVE_POSTIVE; return 0; }