diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-05-22 03:13:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-22 05:23:22 -0400 |
commit | 7385ba44f8bcea15bf0d75ae2814f0cec63140b9 (patch) | |
tree | dc6fa66a346720666bab4fe6867ae3a4aa98ca90 | |
parent | 9da28c7b38170882b1c43d7d133ddce34e25f161 (diff) |
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: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/omap/sdp3430.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c index 19966a7c518e..b719e5db4f57 100644 --- a/sound/soc/omap/sdp3430.c +++ b/sound/soc/omap/sdp3430.c | |||
@@ -276,10 +276,17 @@ static struct snd_soc_card snd_soc_sdp3430 = { | |||
276 | .num_links = ARRAY_SIZE(sdp3430_dai), | 276 | .num_links = ARRAY_SIZE(sdp3430_dai), |
277 | }; | 277 | }; |
278 | 278 | ||
279 | /* twl4030 setup */ | ||
280 | static struct twl4030_setup_data twl4030_setup = { | ||
281 | .ramp_delay_value = 3, | ||
282 | .sysclk = 26000, | ||
283 | }; | ||
284 | |||
279 | /* Audio subsystem */ | 285 | /* Audio subsystem */ |
280 | static struct snd_soc_device sdp3430_snd_devdata = { | 286 | static struct snd_soc_device sdp3430_snd_devdata = { |
281 | .card = &snd_soc_sdp3430, | 287 | .card = &snd_soc_sdp3430, |
282 | .codec_dev = &soc_codec_dev_twl4030, | 288 | .codec_dev = &soc_codec_dev_twl4030, |
289 | .codec_data = &twl4030_setup, | ||
283 | }; | 290 | }; |
284 | 291 | ||
285 | static struct platform_device *sdp3430_snd_device; | 292 | static struct platform_device *sdp3430_snd_device; |