diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2013-03-22 13:50:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 17:06:45 -0400 |
commit | 30215c3b8f36cc532267615ceade3657a9bd9563 (patch) | |
tree | e5255cb3f8b1304e476c8bf3742b7cc5b8713289 /drivers | |
parent | b250a6b0015753362eeb63c3a0dd985848ed772d (diff) |
serial: xilinx_uartps: remove superfluous IDR write
The datesheet clearly states, that writing low bits to the
XUARTPS_IDR register have no effect. Remove the write.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/xilinx_uartps.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index ba451c7209fc..974c361a91fe 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c | |||
@@ -583,9 +583,6 @@ static int xuartps_startup(struct uart_port *port) | |||
583 | xuartps_writel(XUARTPS_IXR_TXEMPTY | XUARTPS_IXR_PARITY | | 583 | xuartps_writel(XUARTPS_IXR_TXEMPTY | XUARTPS_IXR_PARITY | |
584 | XUARTPS_IXR_FRAMING | XUARTPS_IXR_OVERRUN | | 584 | XUARTPS_IXR_FRAMING | XUARTPS_IXR_OVERRUN | |
585 | XUARTPS_IXR_RXTRIG | XUARTPS_IXR_TOUT, XUARTPS_IER_OFFSET); | 585 | XUARTPS_IXR_RXTRIG | XUARTPS_IXR_TOUT, XUARTPS_IER_OFFSET); |
586 | xuartps_writel(~(XUARTPS_IXR_TXEMPTY | XUARTPS_IXR_PARITY | | ||
587 | XUARTPS_IXR_FRAMING | XUARTPS_IXR_OVERRUN | | ||
588 | XUARTPS_IXR_RXTRIG | XUARTPS_IXR_TOUT), XUARTPS_IDR_OFFSET); | ||
589 | 586 | ||
590 | return retval; | 587 | return retval; |
591 | } | 588 | } |