[alsa-devel] [PATCH] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

Timur Tabi timur at freescale.com
Wed May 27 10:38:39 EST 2009


On Tue, May 26, 2009 at 7:25 PM, Jon Smirl <jonsmirl at gmail.com> wrote:

> -       spin_event_timeout(0, 10, 0, rc);
> +       spin_event_timeout(0, 10, 0);
>        out_8(&regs->op0, MPC52xx_PSC_OP_RES);
> -       spin_event_timeout(0, 50, 0, rc);
> +       spin_event_timeout(0, 50, 0);

Jon, I'm still hoping you'll explain why you're not using udelay() here.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list