1015dcdeb04b3874027da2e283a4f91a35b62f56
[openwrt/openwrt.git] / target / linux / ramips / patches-3.14 / 0028-serial-ralink-the-core-has-a-size-of-0x100-and-not-0.patch
1 From b9ba09038dab4d824176ea2c2f2b73f49b567217 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sun, 16 Mar 2014 04:52:01 +0000
4 Subject: [PATCH 28/57] serial: ralink: the core has a size of 0x100 and not
5 0x1000
6
7 Signed-off-by: John Crispin <blogic@openwrt.org>
8 ---
9 drivers/tty/serial/8250/8250_core.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 --- a/drivers/tty/serial/8250/8250_core.c
13 +++ b/drivers/tty/serial/8250/8250_core.c
14 @@ -2517,7 +2517,7 @@ serial8250_pm(struct uart_port *port, un
15 static unsigned int serial8250_port_size(struct uart_8250_port *pt)
16 {
17 if (pt->port.iotype == UPIO_AU)
18 - return 0x1000;
19 + return 0x100;
20 if (is_omap1_8250(pt))
21 return 0x16 << pt->port.regshift;
22