projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1683aa
)
Fix a bug with PL010s running at 19200 baud
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Fri, 7 Apr 2017 16:48:22 +0000
(09:48 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 13 Apr 2017 13:41:08 +0000
(09:41 -0400)
I don't have the hardware test this, but it is almost certainly a typo
in the code dating back to at least 2004.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
drivers/serial/serial_pl01x.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_pl01x.c
b/drivers/serial/serial_pl01x.c
index a49134a95a8e877be262dd8893d5d87042e19d0c..941b424a4c6ea961711d82d90041d754f7900a23 100644
(file)
--- a/
drivers/serial/serial_pl01x.c
+++ b/
drivers/serial/serial_pl01x.c
@@
-117,7
+117,7
@@
static int pl01x_generic_setbrg(struct pl01x_regs *regs, enum pl01x_type type,
divisor = UART_PL010_BAUD_9600;
break;
case 19200:
- divisor = UART_PL010_BAUD_
96
00;
+ divisor = UART_PL010_BAUD_
192
00;
break;
case 38400:
divisor = UART_PL010_BAUD_38400;