[alsa-devel] [PATCH] ASoC: OMAP3EVM: Use the twl4030_setup_data for headset pop-removal

Aggarwal, Anuj anuj.aggarwal at ti.com
Thu Oct 29 09:00:41 CET 2009


I rebased my both audio and l-o trees but could not find this patch
there. Is there a problem in this which I have to fix and re-submit?

Regards,
Anuj Aggarwal


> -----Original Message-----
> From: Aggarwal, Anuj
> Sent: Wednesday, September 23, 2009 12:41 PM
> To: alsa-devel at alsa-project.org; linux-omap at vger.kernel.org
> Cc: Aggarwal, Anuj
> Subject: [PATCH] ASoC: OMAP3EVM: Use the twl4030_setup_data for headset
> pop-removal
> 
> The pop-removal specific values are configured for TWL4030 codec
> for OMAP3EVM through this patch.
> 
> Signed-off-by: Anuj Aggarwal <anuj.aggarwal at ti.com>
> ---
>  sound/soc/omap/omap3evm.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/omap/omap3evm.c b/sound/soc/omap/omap3evm.c
> index 9114c26..8deb59b 100644
> --- a/sound/soc/omap/omap3evm.c
> +++ b/sound/soc/omap/omap3evm.c
> @@ -93,10 +93,17 @@ static struct snd_soc_card snd_soc_omap3evm = {
>  	.num_links = 1,
>  };
> 
> +/* twl4030 setup */
> +static struct twl4030_setup_data twl4030_setup = {
> +	.ramp_delay_value = 4,
> +	.sysclk = 26000,
> +};
> +
>  /* Audio subsystem */
>  static struct snd_soc_device omap3evm_snd_devdata = {
>  	.card = &snd_soc_omap3evm,
>  	.codec_dev = &soc_codec_dev_twl4030,
> +	.codec_data = &twl4030_setup,
>  };
> 
>  static struct platform_device *omap3evm_snd_device;
> --
> 1.6.2.4



More information about the Alsa-devel mailing list