rk: fiq_debugger: no call uart flush when fiq, which may block fiq handler long time...
author黄涛 <huangtao@rock-chips.com>
Fri, 28 Dec 2012 12:11:17 +0000 (20:11 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 28 Dec 2012 12:11:54 +0000 (20:11 +0800)
arch/arm/plat-rk/rk_fiq_debugger.c

index 20eb1a8f8696d0841a5e80e08537aa389d97cf12..910fa9a534bf149e357f9a93a01cc787867a5b8f 100644 (file)
@@ -219,7 +219,9 @@ void rk_serial_debug_init(void __iomem *base, int irq, int signal_irq, int wakeu
        t->pdata.uart_init = debug_port_init;
        t->pdata.uart_getc = debug_getc;
        t->pdata.uart_putc = debug_putc;
+#ifndef CONFIG_RK_CONSOLE_THREAD
        t->pdata.uart_flush = debug_flush;
+#endif
        t->pdata.fiq_enable = fiq_enable;
        t->pdata.force_irq = force_irq;
        t->debug_port_base = base;