summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2011-11-22 20:50:50 -0600
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-01-05 10:34:47 +0200
commit284cb318c8f84744f073d4f4d3820946afaf5442 (patch)
treebd413c6c320b94691d033561e8a679b6bbcfe57b /drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
parentb17ce117322a446f13716132e47b672d7bf25a30 (diff)
downloadblackbird-obmc-linux-284cb318c8f84744f073d4f4d3820946afaf5442.tar.gz
blackbird-obmc-linux-284cb318c8f84744f073d4f4d3820946afaf5442.zip
ASoC: OMAP: HDMI: Correct signature of ASoC functions
These functions require access to IP-secific data. However, it is not possible to pass such data as a function argument as such functions have a specific signature specified by ASoC. Instead, they will have access to the IP-specific data by calling snd_soc_codec_get_drvdata. The codec driver data is set at probe time. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h')
-rw-r--r--drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
index 204095632d27..eb5e8f7120f8 100644
--- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
+++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
@@ -576,8 +576,7 @@ struct hdmi_core_audio_config {
#if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)
-int hdmi_audio_trigger(struct hdmi_ip_data *ip_data,
- struct snd_pcm_substream *substream, int cmd,
+int hdmi_audio_trigger(struct snd_pcm_substream *substream, int cmd,
struct snd_soc_dai *dai);
int hdmi_config_audio_acr(struct hdmi_ip_data *ip_data,
u32 sample_freq, u32 *n, u32 *cts);
OpenPOWER on IntegriCloud