Browse Source

remove for now, need better fix later

Waldemar Brodkorb 11 years ago
parent
commit
f246609e02
1 changed files with 9 additions and 10 deletions
  1. 9 10
      target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch

+ 9 - 10
target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch

@@ -1,16 +1,15 @@
 diff -Nur linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c linux-3.15-rc5/drivers/tty/serial/serial_core.c
 --- linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c	2014-05-09 22:10:52.000000000 +0200
-+++ linux-3.15-rc5/drivers/tty/serial/serial_core.c	2014-05-16 10:33:53.000000000 +0200
-@@ -2685,12 +2685,6 @@
- 	}
++++ linux-3.15-rc5/drivers/tty/serial/serial_core.c	2014-05-20 10:30:52.000000000 +0200
+@@ -2686,9 +2686,10 @@
  
  	/*
--	 * If the port is used as a console, unregister it
+ 	 * If the port is used as a console, unregister it
 -	 */
--	if (uart_console(uport))
--		unregister_console(uport->cons);
--
--	/*
++ 	 * DISABLE: breaks serial console on rb532
+ 	if (uart_console(uport))
+ 		unregister_console(uport->cons);
++	 */
+ 
+ 	/*
  	 * Free the port IO and memory resources, if any.
- 	 */
- 	if (uport->type != PORT_UNKNOWN)