aboutsummaryrefslogtreecommitdiff
path: root/src/soc/rockchip/common/pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/common/pwm.c')
-rw-r--r--src/soc/rockchip/common/pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/rockchip/common/pwm.c b/src/soc/rockchip/common/pwm.c
index e5da05e672..82fc2596c0 100644
--- a/src/soc/rockchip/common/pwm.c
+++ b/src/soc/rockchip/common/pwm.c
@@ -79,5 +79,5 @@ void pwm_init(u32 id, u32 period_ns, u32 duty_ns)
write32(&rk_pwm->pwm[id].pwm_period_hpr, period);
write32(&rk_pwm->pwm[id].pwm_duty_lpr, duty);
- setbits_le32(&rk_pwm->pwm[id].pwm_ctrl, RK_PWM_ENABLE);
+ setbits32(&rk_pwm->pwm[id].pwm_ctrl, RK_PWM_ENABLE);
}