aboutsummaryrefslogtreecommitdiffstats
path: root/bsp/pandaboard/ASoC-ABE-DSP-Use-public-API-to-add-subroutine.patch
blob: 7159c4e5f9c3bb55b16fff669bb581b820debef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From c17186b79dabbbe68376a6665e38d3ec68142cc2 Mon Sep 17 00:00:00 2001
From: Misael Lopez Cruz <misael.lopez@ti.com>
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 <misael.lopez@ti.com>
Integrated-by: Jingdong Lu <jingdong.lu@windriver.com>
---
 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