Skip to content
Snippets Groups Projects
Commit b2aa8894 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Tom Rini
Browse files

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: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
parent f1683aa7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment