Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353431
b: refs/heads/master
c: 57296cc
h: refs/heads/master
i:
  353429: 5d0c4b8
  353427: 33f996e
  353423: 186a3a1
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Jan 2, 2013
1 parent 011d555 commit 12a05c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01df26edaf4d15e1af3300f8a52b11d3f06c5096
refs/heads/master: 57296cc28cf8aab2e5e63d8f9964718ae29cc229
15 changes: 0 additions & 15 deletions trunk/sound/soc/omap/sdp3430.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,6 @@ static int sdp3430_twl4030_init(struct snd_soc_pcm_runtime *rtd)
return ret;
}

static int sdp3430_twl4030_voice_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_codec *codec = rtd->codec;
unsigned short reg;

/* Enable voice interface */
reg = codec->driver->read(codec, TWL4030_REG_VOICE_IF);
reg |= TWL4030_VIF_DIN_EN | TWL4030_VIF_DOUT_EN | TWL4030_VIF_EN;
codec->driver->write(codec, TWL4030_REG_VOICE_IF, reg);

return 0;
}


/* Digital audio interface glue - connects codec <--> CPU */
static struct snd_soc_dai_link sdp3430_dai[] = {
{
Expand All @@ -204,7 +190,6 @@ static struct snd_soc_dai_link sdp3430_dai[] = {
.codec_name = "twl4030-codec",
.dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_IB_NF |
SND_SOC_DAIFMT_CBM_CFM,
.init = sdp3430_twl4030_voice_init,
.ops = &sdp3430_ops,
},
};
Expand Down

0 comments on commit 12a05c4

Please sign in to comment.