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

Timur Tabi timur at freescale.com
Wed May 27 10:53:24 EST 2009


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

> Because Grant didn't want me doing udelay(50) just to delay things in
> order to give the AC97 controller time to initialize. Your function
> lets me loop on cpu_relax() for 50us.

But udelay() calls HMT_low(), which is like cpu_relax().

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list