From c17186b79dabbbe68376a6665e38d3ec68142cc2 Mon Sep 17 00:00:00 2001 From: Misael Lopez Cruz Date: Wed, 23 Feb 2011 12:21:16 -0600 Subject: [PATCH 57/60] ASoC: ABE DSP: Use public API to add subroutine ABE HAL public API to add a subroutine is 'abe_plug_subroutine', 'abe_add_subroutine' was used previously, but it's restricted for internal ABE HAL usage. Change-Id: Idfb8448431a7e33450eae070d43544d27e3719d2 Signed-off-by: Misael Lopez Cruz Integrated-by: Jingdong Lu --- sound/soc/omap/omap-abe-dsp.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/omap/omap-abe-dsp.c b/sound/soc/omap/omap-abe-dsp.c index ceb4196..6f3f170 100644 --- a/sound/soc/omap/omap-abe-dsp.c +++ b/sound/soc/omap/omap-abe-dsp.c @@ -1884,10 +1884,10 @@ static int abe_ping_pong_init(struct snd_pcm_hw_params *params, period_size = params_period_bytes(params); - /*Adding ping pong buffer subroutine*/ - abe_add_subroutine(&abe_irq_pingpong_player_id, - (abe_subroutine2) abe_irq_pingpong_subroutine, - SUB_0_PARAM, (u32 *)0); + /* Adding ping pong buffer subroutine */ + abe_plug_subroutine(&abe_irq_pingpong_player_id, + (abe_subroutine2) abe_irq_pingpong_subroutine, + SUB_0_PARAM, (u32 *)0); /* Connect a Ping-Pong cache-flush protocol to MM_DL port */ abe_connect_irq_ping_pong_port(MM_DL_PORT, &format, -- 1.7.4.1