diff options
| author | Alyssa Rosenzweig <[email protected]> | 2017-04-07 09:48:22 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-04-13 09:41:08 -0400 |
| commit | b2aa88941110868485d38719d119ab79ef9cddfe (patch) | |
| tree | 224a3759ebb84af7271cb0865da359a50aad72f3 /drivers | |
| parent | f1683aa73c31db0a025e0254e6ce1ee7e56aad3e (diff) | |
Fix a bug with PL010s running at 19200 baud
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/serial/serial_pl01x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index a49134a95a8..941b424a4c6 100644 --- 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_9600; + divisor = UART_PL010_BAUD_19200; break; case 38400: divisor = UART_PL010_BAUD_38400; |
