projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48924ff
)
rk: fiq_debugger: flush uart before putc on oops
author
黄涛
<huangtao@rock-chips.com>
Fri, 7 Sep 2012 02:46:52 +0000
(10:46 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 7 Sep 2012 02:46:58 +0000
(10:46 +0800)
arch/arm/plat-rk/rk_fiq_debugger.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/rk_fiq_debugger.c
b/arch/arm/plat-rk/rk_fiq_debugger.c
index 55f409914a00b8f2ad891c8109ba20001f7633f0..20eb1a8f8696d0841a5e80e08537aa389d97cf12 100644
(file)
--- 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--) {