openwrtv4/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
Florian Fainelli de69c9edb0 brcm2708: add support for 3.10 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37218
2013-07-09 20:52:49 +00:00

12 lines
486 B
Diff

diff -urN linux-3.10/drivers/tty/serial/amba-pl011.c linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c
--- linux-3.10/drivers/tty/serial/amba-pl011.c 2013-06-30 23:13:29.000000000 +0100
+++ linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c 2013-07-06 15:25:50.000000000 +0100
@@ -84,7 +84,7 @@
static unsigned int get_fifosize_arm(unsigned int periphid)
{
- unsigned int rev = (periphid >> 20) & 0xf;
+ unsigned int rev = 0; //(periphid >> 20) & 0xf;
return rev < 3 ? 16 : 32;
}