mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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())
This commit is contained in:
parent
c9af6673e8
commit
385105983a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue