Commit f7232056 authored by Carlos Sanchez's avatar Carlos Sanchez Committed by Linus Torvalds
Browse files

[PATCH] Added a Receive_Abort to the Marvell serial driver

Added a Receive_Abort to the Marvell serial driver

Fix occasional input overrun errors on Marvell serial driver

- If the Marvell serial driver is repeatedly started and then stopped it
  will occasionally report an input overrun error when started.

- Added a Receive_Abort to the Marvell serial driver to abort previously
  received receive errors when re-starting the receive
Acked-by: default avatarMark A. Greer <>
Signed-off-by: default avatarCarlos Sanchez <>
Cc: Russell King <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 6ea05db0
...@@ -1100,6 +1100,8 @@ mpsc_start_rx(struct mpsc_port_info *pi) ...@@ -1100,6 +1100,8 @@ mpsc_start_rx(struct mpsc_port_info *pi)
{ {
pr_debug("mpsc_start_rx[%d]: Starting...\n", pi->port.line); pr_debug("mpsc_start_rx[%d]: Starting...\n", pi->port.line);
/* Issue a Receive Abort to clear any receive errors */
writel(MPSC_CHR_2_RA, pi->mpsc_base + MPSC_CHR_2);
if (pi->rcv_data) { if (pi->rcv_data) {
mpsc_enter_hunt(pi); mpsc_enter_hunt(pi);
mpsc_sdma_cmd(pi, SDMA_SDCM_ERD); mpsc_sdma_cmd(pi, SDMA_SDCM_ERD);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment