Jiada Wang
d64b8607ac
Revert "serial: imx: always wake up the processes in the TX callback"
...
This reverts commit 2ad28e3efe .
Instead of always wake up write_wait process in TX callback,
TX callback should call imx_dma_tx() again, and let imx_dma_tx
transfer the remaining data in circle buffer.
The issue with commit 2ad28e3 is, in case there is remaining
data in circle buffer, but no process is waiting on write_wait
queue, then as no following uart_write() will be called after
uart_write_wakeup(), thus cause data loss.
Moreover according to Documentation/serial/driver, uart_write_wakeup()
should be called in case the transmit buffer have dropped below
a threshold.
Signed-off-by: Jiada Wang <jiada_wang@mentor.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-01-09 14:23:07 -08:00
..
2014-12-19 14:02:02 -08:00
2014-12-14 16:43:47 -08:00
2014-12-18 20:28:33 -08:00
2014-12-14 16:10:09 -08:00
2014-12-18 20:28:33 -08:00
2014-12-11 17:56:37 -08:00
2014-12-17 16:03:12 -08:00
2014-12-15 13:23:09 -05:00
2014-12-14 16:10:09 -08:00
2014-12-25 16:04:15 -08:00
2014-12-20 16:42:36 -08:00
2014-12-11 17:56:37 -08:00
2014-12-19 12:56:15 -08:00
2014-12-19 12:57:45 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-10 20:53:21 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-24 13:13:22 +10:00
2014-12-12 10:26:47 -08:00
2014-12-15 17:33:47 -08:00
2014-12-14 16:43:47 -08:00
2014-12-17 10:16:27 -08:00
2014-12-20 13:52:52 -08:00
2014-12-14 16:10:09 -08:00
2014-12-15 18:06:13 -08:00
2014-12-20 13:42:57 -08:00
2014-12-17 10:06:02 -08:00
2014-12-19 14:02:02 -08:00
2014-12-15 17:30:09 -08:00
2014-12-12 10:08:06 -08:00
2014-12-18 20:28:33 -08:00
2014-12-09 16:32:32 +02:00
2014-12-19 19:32:47 +01:00
2014-12-14 16:10:09 -08:00
2014-12-17 12:31:13 -05:00
2014-12-18 20:28:33 -08:00
2014-12-17 09:59:26 -08:00
2014-12-14 16:10:09 -08:00
2014-12-19 12:57:45 -08:00
2014-12-18 20:28:33 -08:00
2014-12-17 09:59:26 -08:00
2014-12-18 20:10:44 -08:00
2014-12-18 20:28:33 -08:00
2014-12-16 14:53:01 -08:00
2014-12-14 16:43:47 -08:00
2014-12-19 14:02:02 -08:00
2014-12-14 16:43:47 -08:00
2014-12-18 20:28:33 -08:00
2014-12-14 16:10:09 -08:00
2014-12-18 20:24:55 -08:00
2014-12-18 20:28:33 -08:00
2014-12-17 10:10:51 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-20 13:42:57 -08:00
2014-12-05 03:08:24 +01:00
2014-12-15 15:52:01 -08:00
2014-12-19 15:25:31 +01:00
2014-12-11 17:56:37 -08:00
2014-12-26 22:43:19 -05:00
2014-12-20 13:42:57 -08:00
2014-12-19 13:29:20 -08:00
2015-01-09 14:23:07 -08:00
2014-12-14 16:43:47 -08:00
2014-12-20 13:42:57 -08:00
2014-12-17 10:44:22 -08:00
2014-12-18 20:50:30 -08:00
2014-12-18 20:28:33 -08:00
2014-12-18 20:50:30 -08:00
2014-12-14 16:43:47 -08:00
2014-12-18 16:01:20 +01:00
2014-12-18 05:56:29 -08:00
2014-12-15 18:06:13 -08:00
2014-12-15 18:06:13 -08:00