diff options
author | Dong Aisheng <b29396@freescale.com> | 2011-07-27 11:27:55 +0800 |
---|---|---|
committer | Dong Aisheng <b29396@freescale.com> | 2011-07-27 15:05:17 +0800 |
commit | 6d4edb55c7c6cb8fa1a61c4baa69febdcfe133c7 (patch) | |
tree | 05b8fa5e9c4e07ee998471a5aab713b9e5baeb48 /include | |
parent | 4fc22402028087beb874ef90db4b437d592af44e (diff) |
ENGR00153740-1 asrc: update to use new SDMA API
Only support one pair of buffer for rx and tx per time.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxc_asrc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index 13a4850fa627..a8d8b8bc474a 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -37,6 +37,7 @@ #define ASRC_STATUS _IOW(ASRC_IOC_MAGIC, 10, struct asrc_status_flags) #define ASRC_FLUSH _IOW(ASRC_IOC_MAGIC, 11, enum asrc_pair_index) + enum asrc_pair_index { ASRC_PAIR_A, ASRC_PAIR_B, @@ -182,8 +183,8 @@ struct asrc_pair_params { unsigned int output_counter; unsigned int input_queue_empty; unsigned int output_queue_empty; - unsigned int input_dma_channel; - unsigned int output_dma_channel; + struct dma_chan *input_dma_channel; + struct dma_chan *output_dma_channel; unsigned int input_buffer_size; unsigned int output_buffer_size; unsigned int buffer_num; |