mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk: fiq_debugger: flush uart before putc on oops
This commit is contained in:
@@ -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--) {
|
||||
|
||||
Reference in New Issue
Block a user