diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-26 11:20:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-26 19:57:13 +0200 |
commit | 5fd2b6ee7a319e0955acff96948fae57321b1f5a (patch) | |
tree | 07c134bb52fbd413e04e8acd1480a36b3e29cc6a /MAINTAINERS | |
parent | serial: 8250_ingenic: drop #if conditional surrounding earlycon code (diff) | |
download | linux-5fd2b6ee7a319e0955acff96948fae57321b1f5a.tar.xz linux-5fd2b6ee7a319e0955acff96948fae57321b1f5a.zip |
serial: sh-sci: Stop transfers in sci_shutdown()
Make sure the transmitter and receiver are stopped when shutting down
the port, and related interrupts are disabled.
Without this:
- New input data may be received into the RX FIFO, possibly
triggering a new RX DMA completion,
- Transfers will still be enabled on a subsequent startup of the UART,
before the UART's FIFOs have been reset, causing reading of stale
data.
Inspired by a patch in the BSP by Koji Matsuoka
<koji.matsuoka.xm@renesas.com>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions