diff options
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 3c96d771e2c..b727992efd6 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c | |||
@@ -561,11 +561,13 @@ void omapdss_hdmi_display_disable(struct omap_dss_device *dssdev) | |||
561 | #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \ | 561 | #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \ |
562 | defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE) | 562 | defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE) |
563 | 563 | ||
564 | static int hdmi_audio_hw_params(struct hdmi_ip_data *ip_data, | 564 | static int hdmi_audio_hw_params(struct snd_pcm_substream *substream, |
565 | struct snd_pcm_substream *substream, | ||
566 | struct snd_pcm_hw_params *params, | 565 | struct snd_pcm_hw_params *params, |
567 | struct snd_soc_dai *dai) | 566 | struct snd_soc_dai *dai) |
568 | { | 567 | { |
568 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | ||
569 | struct snd_soc_codec *codec = rtd->codec; | ||
570 | struct hdmi_ip_data *ip_data = snd_soc_codec_get_drvdata(codec); | ||
569 | struct hdmi_audio_format audio_format; | 571 | struct hdmi_audio_format audio_format; |
570 | struct hdmi_audio_dma audio_dma; | 572 | struct hdmi_audio_dma audio_dma; |
571 | struct hdmi_core_audio_config core_cfg; | 573 | struct hdmi_core_audio_config core_cfg; |