summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-03-23 20:22:01 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:44:47 -0700
commitc2ac7979bdd8999bcac13d644d853c46c93c8b57 (patch)
tree5ce4d355e95510ad944d5b68e5ac3cf8647b1867 /include
parent28addcf788f7bb1b4a0ade6491776c43e58aacea (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__ */