diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-10-26 17:43:30 +0800 |
---|---|---|
committer | Chen Liangjun <b36089@freescale.com> | 2012-11-06 13:43:41 +0800 |
commit | e49af26851c3f5a899b69682189f7849da45452b (patch) | |
tree | a823f9fcc7007964763de781c257b35eddee287d /arch/tile | |
parent | 9e81e368be12a07cdff2b54ec7e7a13e82aa38ec (diff) |
ENGR00231773-4 ASRC: use scatter list and stall bit for asrc convert
In the origin code, ASRC driver use cyclic way to process DMA task
transfering data to/from ASRC input/output FIFO. In this case, it is
necessary that user application should promise that the input buffer
flow is continuous. If not, there would be 0 data be inserted into data
flow. The output data would be noisy.
In this patch,
1 use scatter list instead of cyclic SDMA: with scatter list,
SDMA would stop when the applied scatter list nents are finished.
2 set stall bit for ASRC "memory->ASRC->memory" convert to stop
ASRC convert when input data is not send into ASRC input FIFO in time.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'arch/tile')
0 files changed, 0 insertions, 0 deletions