Commit 7385ba44 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SDP4030: Use the twl4030_setup_data for headset pop-removal

With this patch the initial headset pop-removal related values are
configured for the twl4030 codec (ramp delay and sysclk).
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9da28c7b
...@@ -276,10 +276,17 @@ static struct snd_soc_card snd_soc_sdp3430 = { ...@@ -276,10 +276,17 @@ static struct snd_soc_card snd_soc_sdp3430 = {
.num_links = ARRAY_SIZE(sdp3430_dai), .num_links = ARRAY_SIZE(sdp3430_dai),
}; };
/* twl4030 setup */
static struct twl4030_setup_data twl4030_setup = {
.ramp_delay_value = 3,
.sysclk = 26000,
};
/* Audio subsystem */ /* Audio subsystem */
static struct snd_soc_device sdp3430_snd_devdata = { static struct snd_soc_device sdp3430_snd_devdata = {
.card = &snd_soc_sdp3430, .card = &snd_soc_sdp3430,
.codec_dev = &soc_codec_dev_twl4030, .codec_dev = &soc_codec_dev_twl4030,
.codec_data = &twl4030_setup,
}; };
static struct platform_device *sdp3430_snd_device; static struct platform_device *sdp3430_snd_device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment