soc: rockchip: rk_fiq_debugger: clear time out interrupt but no data ready

Change-Id: Iac5d949b94d21a9e9714d5684452e7cb6057dff0
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
This commit is contained in:
Huibin Hong
2020-01-20 11:06:01 +08:00
committed by Tao Huang
parent 03846554ac
commit 08cb05ec40

View File

@@ -171,6 +171,8 @@ static int debug_getc(struct platform_device *pdev)
} else {
return temp;
}
} else {
rk_fiq_read(t, UART_RX);
}
return FIQ_DEBUGGER_NO_CHAR;