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
@ -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 New Issue
Block a user