From 081264ac1fac3a451e047efefc6d2b4ad88b38c2 Mon Sep 17 00:00:00 2001 From: Chen Liangjun Date: Fri, 23 Mar 2012 20:22:01 +0800 Subject: ENGR00177302 ASRC: change clock management 1 close clock when asrc is not working. 2 enable the asrc core clock when user sucessfully request an ASRC pair and disable it when the pair is release.So the call from ESAI using the p2p DMA mode can be support. Signed-off-by: Chen Liangjun --- include/linux/mxc_asrc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index c5b1d3e312ba..6de6a7e3cd86 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -230,6 +230,8 @@ extern void asrc_start_conv(enum asrc_pair_index index); extern void asrc_stop_conv(enum asrc_pair_index index); extern u32 asrc_get_per_addr(enum asrc_pair_index index, bool i); extern int asrc_get_dma_request(enum asrc_pair_index index, bool i); +extern void asrc_finish_conv(enum asrc_pair_index index); + #endif /* __kERNEL__ */ #endif /* __MXC_ASRC_H__ */ -- cgit v1.2.3