[alsa-devel] [PATCH 3/9] ARM: DaVinci: ASoC: Adds header file for McASP Audio Layer for TI DM646X processor

Medisetty, Naresh naresh at ti.com
Wed Mar 18 12:42:05 CET 2009


> -----Original Message-----
> From: naresh [mailto:x0090427 at ti.com]
> Sent: Wednesday, March 18, 2009 5:05 PM
> To: 'naresh'
> Subject:
>
> On Mon, Mar 16, 2009 at 08:03:22AM -0400, Naresh Medisetty wrote:
>
> > +/*
> > + * DAVINCI_MCASP_PWREMUMGT_REG - Power Down and Emulation Management
> > + *     Register Bits
> > + */
> > +#define FREE         BIT(0)
> > +#define SOFT         BIT(1)
>
> These (and most of your other register bit names) really need to be
> namespaced.  I'd also suggest considering moving the register
> definitions out of here and into the C file - it looks like nothing
> else
> ever ought to be peering at them?



I will take care of the namespace and move these

definitions to the C file




More information about the Alsa-devel mailing list