diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-10-26 13:42:35 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 22:58:08 -0500 |
commit | b2cd7983622ef02369619032bee905ddd7dd4b9e (patch) | |
tree | 23dc0d8cf27f6910bb40cfa37eb95104998c9329 /include | |
parent | 57b7eddc3deea5ffc145f172e990c6d02525deab (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.h | 1 |
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 { |