OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
serial: sprd: correct the wrong sequence of arguments
[android-x86/kernel.git]
/
drivers
/
tty
/
serial
/
sprd_serial.c
diff --git
a/drivers/tty/serial/sprd_serial.c
b/drivers/tty/serial/sprd_serial.c
index
747560f
..
2e34239
100644
(file)
--- a/
drivers/tty/serial/sprd_serial.c
+++ b/
drivers/tty/serial/sprd_serial.c
@@
-240,7
+240,7
@@
static inline void sprd_rx(struct uart_port *port)
if (lsr & (SPRD_LSR_BI | SPRD_LSR_PE |
SPRD_LSR_FE | SPRD_LSR_OE))
- if (handle_lsr_errors(port, &
lsr, &flag
))
+ if (handle_lsr_errors(port, &
flag, &lsr
))
continue;
if (uart_handle_sysrq_char(port, ch))
continue;