summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-10-31 11:11:26 +0800
committerChen Liangjun <b36089@freescale.com>2012-11-06 13:43:41 +0800
commitf10e0cf7a83b920cede6e8fd933b66b454040a72 (patch)
tree1818f55c2135e35ae8b6ae7650a6f53455587fc4 /include/net
parente49af26851c3f5a899b69682189f7849da45452b (diff)
ENGR00231773-5 ASRC: use poll mode to receive last period of ASRC data
ASRC driver use DMA to transfer data from ASRC output FIFO to memory. However, DMA way require the data number in ASRC output FIFO being larger than watermark level. Thus a dma request can trigger a DMA burst. For the last period of output data, its number is possiblely less than output FIFO watermark level. In this case, the output DMA would pending for the last period of output data until timeout. In this patch: 1 divide expected output data length into 2 parts: DMA part and poll part. Using DMA to get the DMA part data and poll mode to get the poll part. 2 to prevent user from processing these 2 parts above, kernel buffers would be untouchable. User application only need send its data buffer address to driver instead of query the kernel buffer. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions