Skip to contentSkip to conversation

staging: dgnc: rephrase comment

PATCH New Seunghun Lee 1 participant 1 message Jul 31, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: dgnc: rephrase comment

Rephrase comment to explain original intention of function.

---
 drivers/staging/dgnc/dgnc_cls.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/dgnc/dgnc_cls.c +4 -4
index 4b65306..5a76a8e 100644
@@ -1040,11 +1040,11 @@ static void cls_flush_uart_read(struct channel_t *ch)
 	 * For complete POSIX compatibility, we should be purging the
 	 * read FIFO in the UART here.
 	 *
-	 * However, doing the statement below also incorrectly flushes
-	 * write data as well as just basically trashing the FIFO.
+	 * However, clearing the read FIFO (UART_FCR_CLEAR_RCVR) also
+	 * incorrectly flushes write data as well as just basically trashing the
+	 * FIFO.
 	 *
-	 * I believe this is a BUG in this UART.
-	 * So for now, we will leave the code #ifdef'ed out...
+	 * Presumably, this is a bug in this UART.
 	 */
 
 	udelay(10);
Signature · 1 line
1.7.9.5