[alsa-devel] [PATCH V2 03/10] ASoc: mxs: add mxs-sgtl5000 machine driver

Dong Aisheng-B29396 B29396 at freescale.com
Thu Jul 14 05:04:11 CEST 2011


> -----Original Message-----
> From: alsa-devel-bounces at alsa-project.org [mailto:alsa-devel-
> bounces at alsa-project.org] On Behalf Of Wolfram Sang
> Sent: Wednesday, July 13, 2011 11:58 PM
> To: Dong Aisheng-B29396
> Cc: alsa-devel at alsa-project.org; s.hauer at pengutronix.de;
> broonie at opensource.wolfsonmicro.com; u.kleine-koenig at pengutronix.de;
> lrg at ti.com; linux-arm-kernel at lists.infradead.org
> Subject: Re: [alsa-devel] [PATCH V2 03/10] ASoc: mxs: add mxs-sgtl5000
> machine driver
> 
> > +#include <linux/module.h>
> > +#include <linux/moduleparam.h>
> 
> No parameters here, drop it.
> 
> > +#include <linux/device.h>
> > +#include <linux/i2c.h>
> > +#include <linux/fsl_devices.h>
> > +#include <linux/gpio.h>
> 
> The last three, too.
>
> > +	/* sgtl5000 does not support 512*rate when in 96000 fs */
> > +	rate = params_rate(params);
> 
> ...so this line can go.
> 
Updated.
Thanks.

Regards
Dong Aisheng



More information about the Alsa-devel mailing list