[PATCH v7] introduce macro spin_event_timeout()
Timur Tabi
timur at freescale.com
Fri May 15 02:03:32 EST 2009
Grant Likely wrote:
> This version looks good to me. Who's the first user? (I'd like to see
> that something is ready to use this before merging it)
I was going to do it the other way around - wait until this patch is merged, and then update some code to use it. After all, it's easier to use a macro if it already exists in a header file. :-)
Grepping for "while.*in_be" finds lots of candidates.
I was originally planning to use this macro in sound/soc/fsl/fsl_ssi.c, but I eliminated the need to poll on a register with commit a4d11fe50c238a7da5225d1399314c3505cbd792 ("ASoC: remove trigger delay in Freescale MPC8610 sound driver"). So now I need to find a new guinea pig.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list