Rx FIFO overrun的错误怎么改的?
[复制链接]
A:
imx-uart 21ec000.serial: Rx FIFO overrun的错误怎么改的?
是不是注释掉中断里面这句就完了dev_err(sport->port.dev, "Rx FIFO overrun\n");
+++ b/kernel-3.14.28/drivers/tty/serial/imx.c
@@ -789,7 +789,7 @@ static irqreturn_t imx_int(int irq, void *dev_id)
sts2 = readl(sport->port.membase + USR2);
if (sts2 & USR2_ORE) {
- dev_err(sport->port.dev, "Rx FIFO overrun\n");
+ //dev_err(sport->port.dev, "Rx FIFO overrun\n");
sport->port.icount.overrun++;
B:用这个驱动试试
|