diff options
author | Huang Shijie <b32955@freescale.com> | 2013-10-11 12:31:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 22:19:54 +0200 |
commit | 947c74eba85bff743bc15adbdd9193ffff60c29f (patch) | |
tree | 5bd87c7ebff2080ce785ec4b0aaff51e2533e55a /drivers/tty/Makefile | |
parent | serial: imx: check the DMA for imx_tx_empty (diff) | |
download | linux-947c74eba85bff743bc15adbdd9193ffff60c29f.tar.xz linux-947c74eba85bff743bc15adbdd9193ffff60c29f.zip |
serial: imx: fix the wrong number of scatterlist entries when xmit->head is 0
When the (xmit->tail > xmit->head) is true and the xmit->head is 0,
we only need one DMA scatterlist in actually. Current code uses two DMA
scatterlists in this case, this is obviously wrong.
This patch fixes it.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/Makefile')
0 files changed, 0 insertions, 0 deletions