projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814ae53
)
greybus: uart fix missing negation on DTR setting
author
Axel Haslam
<ahaslam@baylibre.com>
Mon, 16 May 2016 15:39:32 +0000
(17:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Wed, 18 May 2016 23:53:54 +0000
(16:53 -0700)
The unset the DTR flag is missing "~"
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/uart.c
b/drivers/staging/greybus/uart.c
index aa28ce5c4fb09363fe44e130061ea0ef4130a681..75fa527acf158969c7be6b8479742d6994a51440 100644
(file)
--- a/
drivers/staging/greybus/uart.c
+++ b/
drivers/staging/greybus/uart.c
@@
-375,7
+375,7
@@
static void gb_tty_set_termios(struct tty_struct *tty,
if (C_BAUD(tty) == B0) {
newline.rate = gb_tty->line_coding.rate;
- newctrl &= GB_UART_CTRL_DTR;
+ newctrl &=
~
GB_UART_CTRL_DTR;
} else if (termios_old && (termios_old->c_cflag & CBAUD) == B0) {
newctrl |= GB_UART_CTRL_DTR;
}