git.graph-it.com
/
graphit
/
unipi-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af40cc5
)
Send all iflags from ttyNS via spi
author
Miroslav Ondra
<ondra@faster.cz>
Wed, 24 Mar 2021 08:50:41 +0000
(09:50 +0100)
committer
Miroslav Ondra
<ondra@faster.cz>
Wed, 24 Mar 2021 08:50:41 +0000
(09:50 +0100)
modules/unipi/src/unipi_uart.c
patch
|
blob
|
history
diff --git
a/modules/unipi/src/unipi_uart.c
b/modules/unipi/src/unipi_uart.c
index 3c87c232250f8dc6a77944e35a2073bd86446425..57944dd22a414467134a75a3c773ff3bf3de897b 100644
(file)
--- a/
modules/unipi/src/unipi_uart.c
+++ b/
modules/unipi/src/unipi_uart.c
@@
-243,7
+243,7
@@
void neuronspi_uart_set_termios(struct uart_port *port, struct ktermios *termios
spin_unlock_irq(&port->lock);
}
- if (termios && (!old || ((old->c_iflag
& PARMRK) != (termios->c_iflag & PARMRK
)))) {
+ if (termios && (!old || ((old->c_iflag
) != (termios->c_iflag
)))) {
neuronspi_uart_set_iflags(n_port, termios->c_iflag);
}
if (termios && !old) {