[alsa-devel] [PATCH V4 1/5] The macro spin_event_timeout() takes a condition and timeout value

Timur Tabi timur at freescale.com
Tue May 26 16:20:22 CEST 2009


Arnd Bergmann wrote:
> On Tuesday 26 May 2009, Geert Uytterhoeven wrote:
>> However, you can still improve useability by making the macro return the rc,
>> instead of letting the caller pass it, cfr. wait_event_timeout() and friends.

I had that originally, but somewhere during the seven revisions of my macro, it got lost.

I'll post a v9 soon.  This version will take 3 parameters and return __ret, so Jon will need to change his code (sorry).

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list