]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ASoC: OMAP3EVM: Use the twl4030_setup_data for headset pop-removal
authorAnuj Aggarwal <anuj.aggarwal@ti.com>
Wed, 23 Sep 2009 07:10:31 +0000 (12:40 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Oct 2009 12:58:22 +0000 (12:58 +0000)
The pop-removal specific values are configured for TWL4030 codec
for OMAP3EVM through this patch.

Signed-off-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap3evm.c

index 9114c263077bb18972164c41f29fcaaf02448005..8deb59bb10b1001c062041bc7ecf1c962a1f21e5 100644 (file)
@@ -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;