diff options
author | Huang Shijie <b32955@freescale.com> | 2013-10-15 09:23:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-17 03:25:30 +0200 |
commit | 7cb92fd2a0515ea2ae905bf6c90a84aed2b78ffb (patch) | |
tree | 03787b19a1187f87a3d12b99b098fd40a98018d7 /drivers/tty/serial/68328serial.c | |
parent | serial: imx: use the dmaengine_tx_status (diff) | |
download | linux-7cb92fd2a0515ea2ae905bf6c90a84aed2b78ffb.tar.xz linux-7cb92fd2a0515ea2ae905bf6c90a84aed2b78ffb.zip |
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>
Diffstat (limited to 'drivers/tty/serial/68328serial.c')
0 files changed, 0 insertions, 0 deletions