projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee3948
)
serial: 8250: replace hardcoded 0xbf with #define
author
Wolfram Sang
<w.sang@pengutronix.de>
Fri, 9 Dec 2011 17:07:13 +0000
(18:07 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 10 Dec 2011 03:06:42 +0000
(19:06 -0800)
Makes it easier to find all occurences requesting CONF_MODE_B.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/8250.c
b/drivers/tty/serial/8250.c
index 3a8e5bfe17e28da7e46f4edfb909b7389f44ceb9..580d12c898cf39c6831fcabab9df9fe24ccb7031 100644
(file)
--- a/
drivers/tty/serial/8250.c
+++ b/
drivers/tty/serial/8250.c
@@
-2002,7
+2002,7
@@
static int serial8250_startup(struct uart_port *port)
serial_outp(up, UART_IER, 0);
serial_outp(up, UART_LCR, 0);
serial_icr_write(up, UART_CSR, 0); /* Reset the UART */
- serial_outp(up, UART_LCR,
0xBF
);
+ serial_outp(up, UART_LCR,
UART_LCR_CONF_MODE_B
);
serial_outp(up, UART_EFR, UART_EFR_ECB);
serial_outp(up, UART_LCR, 0);
}