From: Huang Shijie Date: Fri, 23 May 2014 04:40:40 +0000 (+0800) Subject: serial: imx: remove the DMA wait queue X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2f2786606d49d3aae545c61c04757a64cf7e5f0;p=pandora-kernel.git serial: imx: remove the DMA wait queue The DMA wait queue makes the code very complicated: For RX, the @->stop_rx hook does not really stop the RX; For TX, the @->stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be finished. In order to make code more simple, this patch removes the DMA wait queue. By calling the dmaengine_terminate_all, this patch makes the RX stops immediately after we call the @->stop_rx hook, so does the TX. Signed-off-by: Huang Shijie Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed