From: John Jacques <[email protected]>

Signed-off-by: John Jacques <[email protected]>
---
 drivers/tty/serial/amba-pl011.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 7b29c92..93018be 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1667,8 +1667,8 @@ pl011_set_termios(struct uart_port *port, struct ktermios 
*termios,
                        quot -= 2;
        }
        /* Set baud rate */
-       writew(quot & 0x3f, port->membase + UART011_FBRD);
-       writew(quot >> 6, port->membase + UART011_IBRD);
+       writew(0x5, port->membase + UART011_FBRD);
+       writew(0x1, port->membase + UART011_IBRD);
 
        /*
         * ----------v----------v----------v----------v-----
-- 
1.7.9.5

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to