diff options
author | Dong Aisheng <b29396@freescale.com> | 2011-07-27 11:27:55 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:15:01 +0800 |
commit | 443584a1141deee3397e6b485f05cbe5926df8d1 (patch) | |
tree | 7a45fe788b5f074c4a9eb407736b6aaf24dcfb4d /include | |
parent | 4953bf7842f52c3fe5d4f20551ee0371639ccb5f (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; |