Messages in this thread | | | Subject | Re: Patch?: linux-2.5.33/drivers/input/keyboard/atkbd.c allow SETLEDS to fail | Date | Wed, 11 Sep 2002 19:17:21 -0400 | From | Horst von Brand <> |
| |
"Adam J. Richter" <adam@yggdrasil.com> said:
[...]
> 100 milliseconds, which normally only happens when the user > hits CapsLock, NumLock or ScrollLock, which generally implies that a > keyboard is present. I suspect that you could change it to use mdelay > instead of udelay, so that other processes could do useful work during > the wait,
udelay() is busy wait, mdelay() is just calling udelay(1000) over and over. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |