summaryrefslogtreecommitdiff
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorAaron Brice <aaron.brice@datasoft.com>2016-10-07 01:13:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 17:41:56 +0300
commitd704b2d32c39c256dea659e142a31b875a13c63b (patch)
treee104411d0b6a56d00ed2f6a8b274ce95292e5d66 /drivers/tty/vt
parentf00a7c57569db04633818bc5e0c0e35d62733b02 (diff)
downloadlinux-d704b2d32c39c256dea659e142a31b875a13c63b.tar.xz
tty: serial: fsl_lpuart: Fix Tx DMA edge case
In the case where head == 0 on the circular buffer, there should be one DMA buffer, not two. The second zero-length buffer would break the lpuart driver, transfer would never complete. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com> Acked-by: Stefan Agner <stefan@agner.ch> Tested-by: Stefan Agner <stefan@agner.ch> Tested-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
0 files changed, 0 insertions, 0 deletions