serial: imx: optimization: remove the workqueues for DMA
authorHuang Shijie <b32955@freescale.com>
Tue, 15 Oct 2013 07:23:40 +0000 (15:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 01:25:30 +0000 (18:25 -0700)
commit7cb92fd2a0515ea2ae905bf6c90a84aed2b78ffb
tree03787b19a1187f87a3d12b99b098fd40a98018d7
parentf0ef8834b280ebb6c271f155ea040bf4af6c1881
serial: imx: optimization: remove the workqueues for DMA

I worried that the delay of the sdma_run_channel0() maybe too long for
interrupt context, so I added the workqueues for RX/TX DMA.

But tested with bluetooth device, I find that the delay of sdma_run_channel0()
is about 8us (tested in imx6dl sabreauto board). I think the delay
is acceptable.

This patch removes the RX/TX workqueues for DMA, it makes the
code more clear.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c