projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa445d
)
serial: 8250_dw: fix 'cts-override'
author
Dmitry Torokhov
<
[email protected]
>
Tue, 10 Mar 2015 00:37:31 +0000
(17:37 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 23 Mar 2015 21:05:27 +0000
(22:05 +0100)
We are dealing with CTS, not DSR here (we dealt with DSR a few lines
above), so set appropriate bits.
Reported-by: Kevin Cernekee <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/8250/8250_dw.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/8250/8250_dw.c
b/drivers/tty/serial/8250/8250_dw.c
index 48a8bef058e09e11731fd87f444a2b6a38c545aa..c536946e4c341e80253494e4c43ac030940f6c28 100644
(file)
--- a/
drivers/tty/serial/8250/8250_dw.c
+++ b/
drivers/tty/serial/8250/8250_dw.c
@@
-364,9
+364,9
@@
static int dw8250_probe_of(struct uart_port *p,
}
if (of_property_read_bool(np, "cts-override")) {
- /* Always report
DSR
as active */
- data->msr_mask_on |= UART_MSR_
DSR
;
- data->msr_mask_off |= UART_MSR_D
DSR
;
+ /* Always report
CTS
as active */
+ data->msr_mask_on |= UART_MSR_
CTS
;
+ data->msr_mask_off |= UART_MSR_D
CTS
;
}
if (of_property_read_bool(np, "ri-override")) {