summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2010-02-22 17:01:04 +0530
committerJorge Eduardo Candelaria <jorge.candelaria@ti.com>2010-06-17 18:26:56 -0500
commit65394ca6646b677a908592817e30027b5efe3f1a (patch)
treee66efb1207b477d1d515fd9d574c8bcbf433c7c7 /sound
parent9fc33e4d69b84e18898c401a844a4c5640dc9898 (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. Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Diffstat (limited to 'sound')
-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);