From: Simon Glass Date: Wed, 31 May 2017 23:57:25 +0000 (-0600) Subject: rockchip: Setup default PWM flags X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=385105983abf428de55eab9a1c2464889e94cc1b;p=u-boot.git rockchip: Setup default PWM flags At present if the Signed-off-by: Simon Glass Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert()) --- diff --git a/drivers/pwm/rk_pwm.c b/drivers/pwm/rk_pwm.c index 59eae0956e..28de62d716 100644 --- a/drivers/pwm/rk_pwm.c +++ b/drivers/pwm/rk_pwm.c @@ -92,6 +92,7 @@ static int rk_pwm_probe(struct udevice *dev) return -EINVAL; } priv->freq = clk_get_rate(&clk); + priv->enable_conf = PWM_DUTY_POSTIVE | PWM_INACTIVE_POSTIVE; return 0; }