summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2010-02-22 17:01:04 +0530
committerMargarita Olaya Cabrera <magi.olaya@ti.com>2010-04-06 11:37:02 -0500
commit3d0abbd2bba0594ff527a89b0fba372fc3468b0c (patch)
treeb1463e337a27a6b9e56e10ea289780dd318314de
parent0afa9633db134588e52d7907ae1a4c9322544a3c (diff)
ASoC: HDMI: Change wrapper function names
Function names in hdmi wrapper code have changed based on open-source coding style. Modify hdmi dai to reflect those changes.
-rw-r--r--sound/soc/omap/omap-hdmi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c
index 8431f1db2971..1b535fad57cf 100644
--- a/sound/soc/omap/omap-hdmi.c
+++ b/sound/soc/omap/omap-hdmi.c
@@ -59,7 +59,7 @@ static int omap_hdmi_dai_startup(struct snd_pcm_substream *substream,
{
int err = 0;
#ifdef CONFIG_HDMI_NO_IP_MODULE
- err = HDMI_W1_WrapperEnable(HDMI_WP);
+ err = hdmi_w1_wrapper_enable(HDMI_WP);
#else
if (hdmi_audio_core.module_loaded)
err = hdmi_audio_core.wrapper_enable(HDMI_WP);
@@ -74,7 +74,7 @@ static void omap_hdmi_dai_shutdown(struct snd_pcm_substream *substream,
{
int err = 0;
#ifdef CONFIG_HDMI_NO_IP_MODULE
- err = HDMI_W1_WrapperDisable(HDMI_WP);
+ err = hdmi_w1_wrapper_disable(HDMI_WP);
#else
if (hdmi_audio_core.module_loaded)
err = hdmi_audio_core.wrapper_disable(HDMI_WP);
@@ -94,7 +94,7 @@ static int omap_hdmi_dai_trigger(struct snd_pcm_substream *substream, int cmd,
case SNDRV_PCM_TRIGGER_RESUME:
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
#ifdef CONFIG_HDMI_NO_IP_MODULE
- err = HDMI_W1_StartAudioTransfer(HDMI_WP);
+ err = hdmi_w1_start_audio_transfer(HDMI_WP);
#else
if (hdmi_audio_core.module_loaded)
err = hdmi_audio_core.start_audio(HDMI_WP);
@@ -108,7 +108,7 @@ static int omap_hdmi_dai_trigger(struct snd_pcm_substream *substream, int cmd,
case SNDRV_PCM_TRIGGER_SUSPEND:
case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
#ifdef CONFIG_HDMI_NO_IP_MODULE
- err = HDMI_W1_StopAudioTransfer(HDMI_WP);
+ err = hdmi_w1_stop_audio_transfer(HDMI_WP);
#else
if (hdmi_audio_core.module_loaded)
err = hdmi_audio_core.stop_audio(HDMI_WP);