diff options
author | Mark Brown <broonie@linaro.org> | 2014-05-22 00:23:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-22 00:23:42 +0100 |
commit | 8e8fbd8f5838737471e4ad55a37a8b0df02a93c0 (patch) | |
tree | 780b5eb13992701d77b0c848b6c8f69905135d73 /sound/soc/atmel | |
parent | 6bf88ab2ecf2f3d25ee25fb4946e4487c4ffd612 (diff) | |
parent | d77a14b579f6bfe2d149d3bcc5bd306e20d2d652 (diff) | |
download | linux-stable-8e8fbd8f5838737471e4ad55a37a8b0df02a93c0.tar.gz linux-stable-8e8fbd8f5838737471e4ad55a37a8b0df02a93c0.tar.bz2 linux-stable-8e8fbd8f5838737471e4ad55a37a8b0df02a93c0.zip |
Merge remote-tracking branch 'asoc/topic/dapm-init' into asoc-next
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/snd-soc-afeb9260.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c index f65f08beac31..9579799ace54 100644 --- a/sound/soc/atmel/snd-soc-afeb9260.c +++ b/sound/soc/atmel/snd-soc-afeb9260.c @@ -80,17 +80,6 @@ static const struct snd_soc_dapm_route afeb9260_audio_map[] = { {"MICIN", NULL, "Mic Jack"}, }; -static int afeb9260_tlv320aic23_init(struct snd_soc_pcm_runtime *rtd) -{ - struct snd_soc_codec *codec = rtd->codec; - struct snd_soc_dapm_context *dapm = &codec->dapm; - - snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); - snd_soc_dapm_enable_pin(dapm, "Line In"); - snd_soc_dapm_enable_pin(dapm, "Mic Jack"); - - return 0; -} /* Digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link afeb9260_dai = { @@ -100,7 +89,6 @@ static struct snd_soc_dai_link afeb9260_dai = { .codec_dai_name = "tlv320aic23-hifi", .platform_name = "atmel_pcm-audio", .codec_name = "tlv320aic23-codec.0-001a", - .init = afeb9260_tlv320aic23_init, .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_IF | SND_SOC_DAIFMT_CBM_CFM, .ops = &afeb9260_ops, |