Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284982
b: refs/heads/master
c: b17ce11
h: refs/heads/master
v: v3
  • Loading branch information
Ricardo Neri authored and Tomi Valkeinen committed Jan 5, 2012
1 parent 5d70e52 commit a5d738a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7282f1b7c9b5210114ce1ebb0ea5fe8a63fd5778
refs/heads/master: b17ce117322a446f13716132e47b672d7bf25a30
9 changes: 9 additions & 0 deletions trunk/drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,16 @@ static int hdmi_audio_startup(struct snd_pcm_substream *substream,
return 0;
}

static int hdmi_audio_codec_probe(struct snd_soc_codec *codec)
{
struct hdmi_ip_data *priv = &hdmi.ip_data;

snd_soc_codec_set_drvdata(codec, priv);
return 0;
}

static struct snd_soc_codec_driver hdmi_audio_codec_drv = {
.probe = hdmi_audio_codec_probe,
};

static struct snd_soc_dai_ops hdmi_audio_codec_ops = {
Expand Down

0 comments on commit a5d738a

Please sign in to comment.