Commit 0e5c4b4d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

serial: sh-sci: Stop calling sci_start_rx() from sci_request_dma()



There's no need to call sci_start_rx() from sci_request_dma() when DMA
setup fails, as sci_startup() will call sci_start_rx() anyway.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 756981be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1386,7 +1386,6 @@ static void sci_request_dma(struct uart_port *port)
				 "Failed to allocate Rx dma buffer, using PIO\n");
			dma_release_channel(chan);
			s->chan_rx = NULL;
			sci_start_rx(port);
			return;
		}