Problem with s3c24xx pwm driver
Eric Miao
eric.y.miao at gmail.com
Wed Sep 23 18:25:46 EDT 2009
On Thu, Sep 24, 2009 at 3:23 AM, Vasily Khoruzhick <anarsoul at gmail.com> wrote:
> В сообщении от 23 сентября 2009 22:03:17 автор Eric Miao написал:
>> Sounds like there are cases where the pwm_enable() and pwm_disable()
>> are not paired? You may want to print out the reference count each time
>> to see if this is true.
>
> And, btw, pwm_enable()/pwm_disable for s3c24xx just sets/clears one bit. It
> doesn't harm to set same bit twice, does it?
>
No, it doesn't.
So my suggestion at the moment is that you may:
1. try dump the registers after pwm_enable() and see if all are setup
correctly,
2. and make sure those registers are write-able at that time (some
SoC doesn't allow register writing when the controller is disabled).
More information about the linux-arm-kernel
mailing list