summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-10-26 13:42:35 +0800
committerChen Liangjun <b36089@freescale.com>2012-11-06 13:43:40 +0800
commit07eeb987cd59cecd527ba4658ef8220e8f0c13ad (patch)
treea40c94ca72c3c1e9a445d421346a3794ef8e0bd6 /include
parent9ad976c9dfcb9937c71720d21eebe928370dd83b (diff)
ENGR00231773-2 ASRC: add work struct for asrc output data receive
SDMA driver can't promise receive all output data generated. Cause when the data in output FIFO is less than ASRC output FIFO watermark, there would be no DMA request generated and thus no SDMA transfer would happens. In this patch, add work struct to support ASRC driver receive last part of data in OUTPUT FIFO in polling way. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_asrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h
index 638d401256d7..4d6149a64be9 100644
--- a/include/linux/mxc_asrc.h
+++ b/include/linux/mxc_asrc.h
@@ -215,6 +215,7 @@ struct asrc_pair_params {
struct dma_block output_dma[ASRC_DMA_BUFFER_NUM];
struct dma_async_tx_descriptor *desc_in;
struct dma_async_tx_descriptor *desc_out;
+ struct work_struct task_output_work;
};
struct asrc_data {