diff options
| -rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index b064762b6994..3c96d771e2c9 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c | |||
| @@ -705,7 +705,16 @@ static int hdmi_audio_startup(struct snd_pcm_substream *substream, | |||
| 705 | return 0; | 705 | return 0; |
| 706 | } | 706 | } |
| 707 | 707 | ||
| 708 | static int hdmi_audio_codec_probe(struct snd_soc_codec *codec) | ||
| 709 | { | ||
| 710 | struct hdmi_ip_data *priv = &hdmi.ip_data; | ||
| 711 | |||
| 712 | snd_soc_codec_set_drvdata(codec, priv); | ||
| 713 | return 0; | ||
| 714 | } | ||
| 715 | |||
| 708 | static struct snd_soc_codec_driver hdmi_audio_codec_drv = { | 716 | static struct snd_soc_codec_driver hdmi_audio_codec_drv = { |
| 717 | .probe = hdmi_audio_codec_probe, | ||
| 709 | }; | 718 | }; |
| 710 | 719 | ||
| 711 | static struct snd_soc_dai_ops hdmi_audio_codec_ops = { | 720 | static struct snd_soc_dai_ops hdmi_audio_codec_ops = { |
