Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed146aeb authored by Anuj Aggarwal's avatar Anuj Aggarwal Committed by Mark Brown
Browse files

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: default avatarAnuj Aggarwal <anuj.aggarwal@ti.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1c3d2002
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -93,10 +93,17 @@ static struct snd_soc_card snd_soc_omap3evm = {
	.num_links = 1,
	.num_links = 1,
};
};


/* twl4030 setup */
static struct twl4030_setup_data twl4030_setup = {
	.ramp_delay_value = 4,
	.sysclk = 26000,
};

/* Audio subsystem */
/* Audio subsystem */
static struct snd_soc_device omap3evm_snd_devdata = {
static struct snd_soc_device omap3evm_snd_devdata = {
	.card = &snd_soc_omap3evm,
	.card = &snd_soc_omap3evm,
	.codec_dev = &soc_codec_dev_twl4030,
	.codec_dev = &soc_codec_dev_twl4030,
	.codec_data = &twl4030_setup,
};
};


static struct platform_device *omap3evm_snd_device;
static struct platform_device *omap3evm_snd_device;