]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6356a54301e9e356fe51047e0801f92362bb407
tree03787b19a1187f87a3d12b99b098fd40a98018d7
parentb9496293a2b8cdc2af8f290f655aa3c64f43daf8
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