[alsa-devel] [PATCH 07/20] OMAP: McBSP: Add transmit/receive threshold handler
Tony Lindgren
tony at atomide.com
Thu Aug 6 14:10:39 CEST 2009
* Eduardo Valentin <eduardo.valentin at nokia.com> [090730 16:01]:
> This patch adds a way to handle transmit/receive threshold.
> It export to mcbsp users a callback registration procedure.
>
> Signed-off-by: Eduardo Valentin <eduardo.valentin at nokia.com>
> ---
> arch/arm/plat-omap/include/mach/mcbsp.h | 13 ++++++++
> arch/arm/plat-omap/mcbsp.c | 50 +++++++++++++++++++++++++++++++
> 2 files changed, 63 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-omap/include/mach/mcbsp.h b/arch/arm/plat-omap/include/mach/mcbsp.h
> index e3b300c..26bcab8 100644
> --- a/arch/arm/plat-omap/include/mach/mcbsp.h
> +++ b/arch/arm/plat-omap/include/mach/mcbsp.h
> @@ -259,6 +259,10 @@
> #define ENAWAKEUP 0x0004
> #define SOFTRST 0x0002
>
> +/********************** McBSP IRQSTATUS bit definitions ********************/
> +#define IRQST_XRDY (1<<10)
> +#define IRQST_RRDY (1<<3)
> +
> /********************** McBSP WAKEUPEN bit definitions *********************/
> #define XEMPTYEOFEN 0x4000
> #define XRDYEN 0x0400
Please add spaces around << defines above.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Alsa-devel
mailing list