Re: [PATCH 1/3] asoc tlv320aic3x: revisit clock setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Fri, 25 Apr 2008 11:36:57 +0200,
Daniel Mack wrote:
> 
> On Fri, Apr 25, 2008 at 11:28:44AM +0200, Takashi Iwai wrote:
> > > diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
> > > index 630684f..87e5040 100644
> > > --- a/sound/soc/codecs/tlv320aic3x.c
> > > +++ b/sound/soc/codecs/tlv320aic3x.c
> > > @@ -51,6 +51,8 @@
> > >  #define AUDIO_NAME "aic3x"
> > >  #define AIC3X_VERSION "0.1"
> > >  
> > > +#define ABS(x) (((x) >= 0) ? (x) : -(x))
> > 
> > We already have a standard abs() in linux/kernel.h.
> 
> Ok, thanks for mentioning that. See the patch below. Also bumped the
> version number here.

You don't need to include <linux/kernel.h> there.  It's almost always
included.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux