projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326707e
)
serial: sirf: correct the fifo empty_bit
author
Qipan Li
<Qipan.Li@csr.com>
Tue, 26 May 2015 09:35:59 +0000
(09:35 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:51:37 +0000
(06:51 +0900)
Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.h
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sirfsoc_uart.h
b/drivers/tty/serial/sirfsoc_uart.h
index 3ab3141e1aae0733907673b4878f4bb9a8ff2313..644f86529571034f9b6279b8e4ccfa74b115b938 100644
(file)
--- a/
drivers/tty/serial/sirfsoc_uart.h
+++ b/
drivers/tty/serial/sirfsoc_uart.h
@@
-117,7
+117,7
@@
u32 uart_usp_ff_empty_mask(struct uart_port *port)
{
u32 empty_bit;
- empty_bit = ilog2(port->fifosize);
+ empty_bit = ilog2(port->fifosize)
+ 1
;
return (1 << empty_bit);
}
struct sirfsoc_uart_register sirfsoc_usp = {