[alsa-devel] [PATCH v5 1/3] ARM: mxs: add saif clkmux functions
Dong Aisheng-B29396
B29396 at freescale.com
Fri Nov 18 03:57:52 EST 2011
> -----Original Message-----
> From: Lothar Waßmann [mailto:LW at KARO-electronics.de]
> Sent: Friday, November 18, 2011 4:30 PM
> To: Dong Aisheng-B29396
> Cc: Marek Vasut; alsa-devel at alsa-project.org; s.hauer at pengutronix.de;
> broonie at opensource.wolfsonmicro.com; w.sang at pengutronix.de; Guo Shawn-
> R65073; kernel at pengutronix.de; u.kleine-koenig at pengutronix.de; lrg at ti.com;
> linux-arm-kernel at lists.infradead.org
> Subject: RE: [alsa-devel] [PATCH v5 1/3] ARM: mxs: add saif clkmux
> functions
>
> Hi,
>
> Dong Aisheng-B29396 writes:
> [...]
> > > > +#define HW_DIGCTL_CTRL 0x0
> > > > +#define BP_DIGCTL_CTRL_SAIF_CLKMUX (10)
> > >
> > > Do you need the parenthesis above ?
> > >
> > I'm not sure about his.
> > HW_DIGCTL_CTRL is the register offset.
> > Do we have to do this?
> >
> You need parens around macro parameters that are used in an expression
> inside the macro. But you never ever need to enclose a bare number in
> parens!
>
Yep!
I will remove it.
Saving two bytes in code size! :-)
Regards
Dong Aisheng
More information about the linux-arm-kernel
mailing list