diff --git a/drivers/pwm/pxa_pwm.c b/drivers/pwm/pxa_pwm.c index 90899fd..4575817 100644 --- a/drivers/pwm/pxa_pwm.c +++ b/drivers/pwm/pxa_pwm.c @@ -73,9 +73,9 @@ /* NOTE: the clock to PWM has to be enabled first * before writing to the registers */ - __raw_writel(prescale, pxa_pwm->iobase + PWMCR); - __raw_writel(dc, pxa_pwm->iobase + PWMDCR); - __raw_writel(pv, pxa_pwm->iobase + PWMPCR); + writel(prescale, pxa_pwm->iobase + PWMCR); + writel(dc, pxa_pwm->iobase + PWMDCR); + writel(pv, pxa_pwm->iobase + PWMPCR); return 0; }