serial: xilinx_uartps: remove superfluous IDR write
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Fri, 22 Mar 2013 17:50:02 +0000 (18:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 21:06:45 +0000 (14:06 -0700)
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>
drivers/tty/serial/xilinx_uartps.c

index ba451c7209fc6b9bbaaf47b9e2d2458f202feaf8..974c361a91fe97a9ccef79dd886e3ef6baa85d2d 100644 (file)
@@ -583,9 +583,6 @@ static int xuartps_startup(struct uart_port *port)
        xuartps_writel(XUARTPS_IXR_TXEMPTY | XUARTPS_IXR_PARITY |
                XUARTPS_IXR_FRAMING | XUARTPS_IXR_OVERRUN |
                XUARTPS_IXR_RXTRIG | XUARTPS_IXR_TOUT, XUARTPS_IER_OFFSET);
-       xuartps_writel(~(XUARTPS_IXR_TXEMPTY | XUARTPS_IXR_PARITY |
-               XUARTPS_IXR_FRAMING | XUARTPS_IXR_OVERRUN |
-               XUARTPS_IXR_RXTRIG | XUARTPS_IXR_TOUT), XUARTPS_IDR_OFFSET);
 
        return retval;
 }