]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00238439 ASRC: add delay before reading ASRC FIFO status
authorChen Liangjun <b36089@freescale.com>
Fri, 28 Dec 2012 08:42:42 +0000 (16:42 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:49 +0000 (08:35 +0200)
commitdb6a6be66b65692d5126cb5c99086d746ab576f0
tree863386fcc362bc7c142221d2fbd6e85ccff6a27b
parente59cc4f6e00abc673e8568569627868dc4d8334a
ENGR00238439 ASRC: add delay before reading ASRC FIFO status

ASRC driver would read the sample number of ASRC output FIFO to fetch
the data from ASRC output FIFO. However, SDMA's fetching operation may
not finished before ASRC's reading. In this case, ASRC driver may read a
error data from the register.

In this patch, add delay before reading ASRC FIFO status to prevent
noise.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
drivers/mxc/asrc/mxc_asrc.c