Re: [PATCH V4 3/5] AC97 driver for mpc5200

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

 



On Mon, May 25, 2009 at 9:41 PM, Timur Tabi <timur@xxxxxxxxxxxxx> wrote:
> On Mon, May 25, 2009 at 5:15 PM, Jon Smirl <jonsmirl@xxxxxxxxx> wrote:
>
>> +       spin_event_timeout(1, 3, 0, rc);
>
> Ugh, don't do this.  Just use udelay!

heh; indeed.  My objection to udelay is that it burns cycles it the
test loop that could be used to decide whether or not the loop is
complete.  Not an issue when the explicit goal is to burn a fixed
number of cycles.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux