>-----Original Message----- >From: Shawn Guo [mailto:shawn.guo@xxxxxxxxxx] >Sent: Friday, July 05, 2013 5:15 PM >To: Lu Jingchang-B35083 >Cc: linux-serial@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; >gregkh@xxxxxxxxxxxxxxxxxxx; s.hauer@xxxxxxxxxxxxxx >Subject: Re: [PATCH v4] tty: serial: add Freescale lpuart driver support >> + /* restore CR2 */ >> + writeb(old_cr2, sport->port.membase + UARTCR2); > >I just noticed that you dropped this CR2 restore since v5 of the patch. >I have a patch enabling low-level debug support for Vybrid. It works with >v4 of your patch but has problem with the v5. The console stops working >as below. > >Serial: IMX driver >serial: Freescale lpuart driver >40028000.serial: ttyLP1 at MMIO 0x40028000 (irq = 94) is a FSL_LPUART >console [ttyLP1] enabled, bootconsole disabled > >If I have above CR2 restore code added back. The low-level debug support >will just work fine with console. > >Is it an accident you removed the code? [Lu Jingchang-B35083] I explicitly removed the cr2 restore code on cleaning up the redundant code, and find it work well on normal operation. Low level debug is not supported on Vybrid so I didn't notice that problem. Will you fixing it? Or I submit a fix on it? Thanks. Best Regards, Jingchang -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html