serial: sh-sci: Pass scatterlist to sci_dma_rx_push()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Aug 2015 18:02:51 +0000 (20:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:33:48 +0000 (17:33 +0100)
commit0533502d258371cab9eb1a51eaf2ec5d5c11f9bb
treeccc3a13b97dfc46d248b40f93cf744a8feba8ae2
parent04928b79d2399e6e924f5345bbda28b63751dcb0
serial: sh-sci: Pass scatterlist to sci_dma_rx_push()

Currently sci_dma_rx_push() has to find the active scatterlist itself,
but in some cases the caller already knows.

Hence let the caller pass the scatterlist, and introduce a helper to
find the active DMA request while we're at it.

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