> -----Original Message----- > From: Michael Walle <michael@xxxxxxxx> > Sent: 2022年11月23日 18:36 > To: Sherry Sun <sherry.sun@xxxxxxx> > Cc: gregkh@xxxxxxxxxxxxxxxxxxx; jirislaby@xxxxxxxxxx; > jingchang.lu@xxxxxxxxxxxxx; tomonori.sakita@xxxxxxxxxx; > atsushi.nemoto@xxxxxxxxxx; linux-serial@xxxxxxxxxxxxxxx; linux- > kernel@xxxxxxxxxxxxxxx; dl-linux-imx <linux-imx@xxxxxxx> > Subject: Re: [PATCH V2 5/5] tty: serial: fsl_lpuart: clear LPUART Status > Register in lpuart32_shutdown() > > Am 2022-11-10 09:17, schrieb Sherry Sun: > > The LPUART Status Register needs to be cleared when closing the uart > > port to get a clean environment when reopening the uart. > > Shouldn't it be cleared on startup instead? What if there was some kind of > event between shutdown and startup? > Hi Michael, same as what we discussed under another patch, unfortunately the .startup() won’t clear the status of the uart port. Best Regards Sherry