RE: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Andy Duan
--- > > > > > From: Uwe Kleine-König > > > > > Sent: 2018年9月20日 15:55 > > > > > To: Robin Gong > > > > > Cc: jsl...@suse.com; Andy Duan ; > > > > > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl- > &g

Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Lucas Stach
Sent: 2018年9月20日 15:55 > > > > To: Robin Gong > > > > Cc: jsl...@suse.com; Andy Duan ; > > > > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl- > > > > linux-imx ; ker...@pengutronix.de > > > > Subject: Re: [PATCH v1] tty: seria

RE: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Andy Duan
; Andy Duan ; > > > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl- > > > linux-imx ; ker...@pengutronix.de > > > Subject: Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the > > > last tail data > > > > > > Hello, > > &g

Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Lucas Stach
nel.org; dl- > > linux-imx > > ; ker...@pengutronix.de > > Subject: Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the > > last tail data > > > > Hello, > > > > On Thu, Sep 20, 2018 at 11:26:00PM +0800, Robin Gong wrote: > > > enabl

RE: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Robin Gong
> -Original Message- > From: Uwe Kleine-König > Sent: 2018年9月20日 15:55 > To: Robin Gong > Cc: jsl...@suse.com; Andy Duan ; > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl-linux-imx > ; ker...@pengutronix.de > Subject: Re: [PATCH v1] tty: serial:

Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Uwe Kleine-König
Hello, On Thu, Sep 20, 2018 at 11:26:00PM +0800, Robin Gong wrote: > enable IDDMAEN in UCR4 to let sdma script has the chance to detect > the idle status and transfer the last tail data with the interrupt > notifying uart driver.Otherwise, the last dma done interrupt of the > tail data in rxfifo w

[PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Robin Gong
enable IDDMAEN in UCR4 to let sdma script has the chance to detect the idle status and transfer the last tail data with the interrupt notifying uart driver.Otherwise, the last dma done interrupt of the tail data in rxfifo whose size is less than watermark may never be received by uart driver. Sign