Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1681521
| From | Romain Perier <romain.perier@collabora.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 3/6] serial: imx: remove CTSC and CTS handling |
| Date | 2017-07-05 15:10 +0200 |
| Message-ID | <tZSe5-6Cw-5@gated-at.bofh.it> (permalink) |
| References | <tZSe5-6Cw-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Nandor Han <nandor.han@ge.com> CTSC and CTS are not related to DMA and might add disruption in some cases. Signed-off-by: Romain Perier <romain.perier@collabora.com> --- drivers/tty/serial/imx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 5291b86..dd3ebb4 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -1249,11 +1249,6 @@ static void imx_disable_dma(struct imx_port *sport) imx_stop_rx_dma(sport); imx_stop_tx_dma(sport); - /* clear UCR2 */ - temp = readl(sport->port.membase + UCR2); - temp &= ~(UCR2_CTSC | UCR2_CTS | UCR2_ATEN); - writel(temp, sport->port.membase + UCR2); - imx_setup_ufcr(sport, TXTL_DEFAULT, RXTL_DEFAULT); sport->dma_is_enabled = 0; -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 3/6] serial: imx: remove CTSC and CTS handling Romain Perier <romain.perier@collabora.com> - 2017-07-05 15:10 +0200
Re: [PATCH v2 3/6] serial: imx: remove CTSC and CTS handling Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2017-07-05 15:40 +0200
Re: [PATCH v2 3/6] serial: imx: remove CTSC and CTS handling Clemens Gruber <clemens.gruber@pqgruber.com> - 2017-07-05 16:50 +0200
csiph-web