]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Switch to dma_map_single() for DMA transmission
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Aug 2015 18:02:42 +0000 (20:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:33:48 +0000 (17:33 +0100)
commitf8e54c955b9c84793a37ced7f20412697f3baabb
tree014c389b7f4676692e802e7b636de0b083d4f710
parentc1f5a45b2db62c1655f19f37bb23df5cec6b5e08
serial: sh-sci: Switch to dma_map_single() for DMA transmission

Simplify the DMA transmit code by using dma_map_single() instead of
constantly modifying the single-entry scatterlist to match what's
currently being transmitted.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c