diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-03-23 20:22:01 +0800 |
---|---|---|
committer | Chen Liangjun <b36089@freescale.com> | 2012-03-28 13:58:31 +0800 |
commit | 0fa1ff4cc96330800640f32f1d825b2ba1b270ec (patch) | |
tree | 520b85f3ef2b24c1385cb3f105cb7e20c6f678c8 /include | |
parent | daa4fa661c03d848b66d179a93af39f4add23020 (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.h | 2 |
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__ */ |