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:
b2f0152
)
Remove port locking in uart_stop_rx
author
Miroslav Ondra
<ondra@faster.cz>
Wed, 22 Jan 2020 15:16:58 +0000
(16:16 +0100)
committer
Miroslav Ondra
<ondra@faster.cz>
Wed, 22 Jan 2020 15:16:58 +0000
(16:16 +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 4808d36dc59b30686d28df334fffebd2cb48c75e..6d04b0393cb20eac4841770117953b04fd9c209e 100644
(file)
--- a/
modules/unipi/src/unipi_uart.c
+++ b/
modules/unipi/src/unipi_uart.c
@@
-103,11
+103,11
@@
void neuronspi_uart_null_void(struct uart_port *port)
void neuronspi_uart_stop_rx(struct uart_port *port)
{
struct neuronspi_port *n_port = to_neuronspi_port(port, port);
- unsigned long flags;
+ /*unsigned long flags;*/
- spin_lock_irqsave(&port->lock, flags);
+ /*spin_lock_irqsave(&port->lock, flags);*/
n_port->accept_rx = 0;
- spin_unlock_irqrestore(&port->lock, flags);
+ /*spin_unlock_irqrestore(&port->lock, flags);*/
}
void neuronspi_uart_config_port(struct uart_port *port, int flags)