]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00231773-2 ASRC: add work struct for asrc output data receive
authorChen Liangjun <b36089@freescale.com>
Fri, 26 Oct 2012 05:42:35 +0000 (13:42 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:21 +0000 (14:13 +0200)
commit27d2c56f21f7cac82ce20f8f77a0779b390aeafe
treea40c94ca72c3c1e9a445d421346a3794ef8e0bd6
parent780dd82abaae46537cdcd3aafcf91e7c7a2bf9f8
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>
drivers/mxc/asrc/mxc_asrc.c
include/linux/mxc_asrc.h