]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00233570-1 ASRC: Use hook to add support for ASRC loadable
authorGe Lei <b42127@freescale.com>
Thu, 15 Nov 2012 06:46:19 +0000 (14:46 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:43 +0000 (08:35 +0200)
commit139e63bbb6a4666560f6e79ebb5db57e0681bb00
treeb1770dc63840bed3d52b70c633fc37e149800a7e
parentbc868e7ae0dfc990cf490f847614bcbea3b90759
ENGR00233570-1 ASRC: Use hook to add support for ASRC loadable

ASoC ESAI machine driver and pcm platform driver use the APIs from mxc_asrc.c,
but once ASRC is used as a loadable module, these files can't find the APIs
from this ko. In this patch, we use 'asrc_p2p_hook' to hook the APIs which will
be used in ASoC ESAI machine driver and pcm platform driver.

Signed-off-by: Ge Lei <b42127@freescale.com>
drivers/mxc/asrc/mxc_asrc.c
include/linux/mxc_asrc.h