diff --git a/arch/arm/plat-rk/rk_fiq_debugger.c b/arch/arm/plat-rk/rk_fiq_debugger.c index 55f409914a00..20eb1a8f8696 100644 --- a/arch/arm/plat-rk/rk_fiq_debugger.c +++ b/arch/arm/plat-rk/rk_fiq_debugger.c @@ -159,6 +159,7 @@ static void console_write(struct platform_device *pdev, const char *s, unsigned t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); if (oops_in_progress || oops) { + debug_flush(pdev); while (kfifo_get(&fifo, &c)) debug_putc(pdev, c); while (count--) {