diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2011-05-31 09:23:11 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-05-31 11:04:41 +0100 |
commit | 657b90745267ce2dec887606be6eac5c213dd594 (patch) | |
tree | cbf661d1fa9ef5a46920acb63428b0c26f4b15a8 /sound | |
parent | 73c9f8ad2e9a9f35f2db6a5eb369b0f56079a45e (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | 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 ceb41964c55..6f3f170e2bc 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, |