From patchwork Wed Sep 23 07:10:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aggarwal, Anuj" X-Patchwork-Id: 49485 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8N7AcXT021436 for ; Wed, 23 Sep 2009 07:10:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754215AbZIWHKe (ORCPT ); Wed, 23 Sep 2009 03:10:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754192AbZIWHKe (ORCPT ); Wed, 23 Sep 2009 03:10:34 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:49871 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754156AbZIWHKd (ORCPT ); Wed, 23 Sep 2009 03:10:33 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n8N7AYsk010686; Wed, 23 Sep 2009 02:10:35 -0500 Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n8N7AVpd000684; Wed, 23 Sep 2009 12:40:32 +0530 (IST) Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by psplinux050.india.ti.com (8.13.1/8.13.1) with ESMTP id n8N7AV8a017684; Wed, 23 Sep 2009 12:40:31 +0530 Received: (from a0393534@localhost) by psplinux050.india.ti.com (8.13.1/8.13.1/Submit) id n8N7AVgU017071; Wed, 23 Sep 2009 12:40:31 +0530 From: Anuj Aggarwal To: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org Cc: Anuj Aggarwal Subject: [PATCH] ASoC: OMAP3EVM: Use the twl4030_setup_data for headset pop-removal Date: Wed, 23 Sep 2009 12:40:31 +0530 Message-Id: <1253689831-2996-1-git-send-email-anuj.aggarwal@ti.com> X-Mailer: git-send-email 1.6.2.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The pop-removal specific values are configured for TWL4030 codec for OMAP3EVM through this patch. Signed-off-by: Anuj Aggarwal --- 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;