diff options
author | Huang Shijie <b32955@freescale.com> | 2014-05-23 12:40:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 12:41:32 -0700 |
commit | e2f2786606d49d3aae545c61c04757a64cf7e5f0 (patch) | |
tree | 6ac161033ca9b36ddaa3a87bbf3a956f967be000 /scripts/patch-kernel | |
parent | 8eccd0cd2106fbe0acc6bec3701e69e171353f25 (diff) | |
download | linux-e2f2786606d49d3aae545c61c04757a64cf7e5f0.tar.gz |
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 <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions