]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: sh-sci: Extract sci_dma_rx_chan_invalidate()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Jan 2019 16:23:17 +0000 (17:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jan 2019 15:56:52 +0000 (16:56 +0100)
commit11b3770d54b28dcd905155a6d4aa551187ff00eb
tree57bcf1908945f23495dca5d41191da4af7a444eb
parent833954a4e34ed090a8e2f3b3a8d4624002f29d30
serial: sh-sci: Extract sci_dma_rx_chan_invalidate()

The cookies and channel pointer for the DMA receive channel are
invalidated in two places, and one more is planned.
Extract this functionality in a common helper.

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