Ivan Grokhotkov
508fb79a26
uart: fix uart_tx_wait_idle to wait for fifo empty
...
In some cases, when data was just written into UART FIFO, transmitter
state could be still zero while the FIFO did contain some data.
This resulted in uart_tx_wait_idle occasionally returning before all
the data was sent out.
Fix by checking both UART transmitter state and TX FIFO count.
2018-10-15 20:08:16 +08:00
..
2018-08-21 13:02:46 +08:00
2018-09-24 11:25:21 +05:30
2018-10-15 20:08:16 +08:00
2018-07-02 11:31:19 +08:00
2017-05-12 15:41:51 +08:00
2018-10-10 14:40:21 +08:00
2017-07-10 17:25:55 +08:00
2017-04-13 15:27:38 +08:00
2018-08-21 13:02:03 +08:00
2018-04-03 20:13:49 +08:00
2017-01-11 20:51:28 +03:00
2017-10-18 12:31:38 +08:00
2018-05-18 16:16:03 +03:00
2018-03-20 12:23:32 +05:00
2017-09-01 10:36:14 +08:00
2018-05-21 22:00:51 +05:00
2018-10-09 08:57:23 +02:00
2016-09-26 01:17:32 +08:00
2018-05-19 13:14:12 +08:00
2018-09-24 11:25:21 +05:30
2017-11-02 16:47:51 +08:00
2017-07-11 10:18:08 +08:00
2018-10-15 14:32:58 +08:00
2018-01-18 23:10:29 +00:00
2016-12-01 19:17:48 +08:00
2018-09-26 10:31:09 +08:00
2016-11-22 00:57:19 +08:00
2017-11-24 15:31:28 +08:00
2018-09-23 21:11:02 +08:00
2018-09-23 21:11:02 +08:00
2018-03-27 08:12:54 +02:00
2018-08-14 17:48:02 +05:00
2018-06-29 16:28:11 +08:00
2017-10-18 14:19:16 +08:00
2018-09-07 10:33:33 +08:00
2018-07-03 16:28:24 +05:30
2018-10-08 19:55:13 +08:00
2016-08-17 23:08:22 +08:00
2018-09-03 04:39:45 +00:00
2017-11-02 16:47:51 +08:00
2017-11-09 10:09:42 +08:00
2018-04-26 14:39:54 +08:00
2018-05-29 20:07:45 +08:00
2018-07-09 13:22:24 +03:00
2018-08-01 11:19:43 +08:00
2018-05-26 17:22:23 +08:00
2018-09-07 11:05:59 +08:00
2018-09-23 21:11:02 +08:00
2018-05-09 10:44:35 +08:00
2018-05-17 16:45:53 +08:00