Re: [PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-30 Thread Huang Shijie
On Fri, May 30, 2014 at 09:27:20AM +, Wang, Jiada (ESD) wrote: > Hi Shijie > > After apply this patch into our kernel, > We are facing data hang issue when sending big size file (2M used in test) to > uart port > Note: Rx port is also keep receiving data. > > After read the implementation

RE: [PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-30 Thread Wang, Jiada (ESD)
Subject: [PATCH 1/2] serial: imx: remove the DMA wait queue The DMA wait queue makes the code very complicated: For RX, the @->stop_rx hook does not really stop the RX; For TX, the @->stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be fi

RE: [PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-30 Thread Wang, Jiada (ESD)
Subject: [PATCH 1/2] serial: imx: remove the DMA wait queue The DMA wait queue makes the code very complicated: For RX, the @-stop_rx hook does not really stop the RX; For TX, the @-stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be finished

Re: [PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-30 Thread Huang Shijie
On Fri, May 30, 2014 at 09:27:20AM +, Wang, Jiada (ESD) wrote: Hi Shijie After apply this patch into our kernel, We are facing data hang issue when sending big size file (2M used in test) to uart port Note: Rx port is also keep receiving data. After read the implementation of

[PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-22 Thread Huang Shijie
The DMA wait queue makes the code very complicated: For RX, the @->stop_rx hook does not really stop the RX; For TX, the @->stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be finished. In order to make code more simple, this patch

[PATCH 1/2] serial: imx: remove the DMA wait queue

2014-05-22 Thread Huang Shijie
The DMA wait queue makes the code very complicated: For RX, the @-stop_rx hook does not really stop the RX; For TX, the @-stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be finished. In order to make code more simple, this patch removes