summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-03-23 20:22:01 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:24:36 +0800
commit081264ac1fac3a451e047efefc6d2b4ad88b38c2 (patch)
tree2c2fd5a941e272dcf65c9d76741a762ab9ef280b /include
parent4185e712bc64e7938c4b76bcb7f241e5093c134f (diff)
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 <b36089@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_asrc.h2
1 files changed, 2 insertions, 0 deletions
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__ */