Re: Device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Sat, Mar 22, 2008 at 07:40:53AM +0100, Erazem wrote:
> Thanks.
> > Yes, you're asking for a 1ms sleep.  But that's beyond the 
> > granularity of what msleep can give you, unless you're running with 
> > hrtimer.  Use a  different sleep (e.g. usleep), and/or switch to a kernel
> that does 
> > hrtimer for PXA.
> Indeed this solve a problem.

Depending on what amount of delay you require between each transition,
you could use udelay() to spin-wait for a small number of microseconds.

List admin:

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter