Skip to content
Snippets Groups Projects
Commit 38510598 authored by Simon Glass's avatar Simon Glass
Browse files

rockchip: Setup default PWM flags


At present if the

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Fixes: 874ee59a (rockchip: pwm: implement pwm_set_invert())
parent c9af6673
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment