OSDN Git Service

staging: dgnc: rephrase comment
authorSeunghun Lee <waydi1@gmail.com>
Thu, 31 Jul 2014 13:30:32 +0000 (22:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 21:50:04 +0000 (14:50 -0700)
Rephrase comment to explain original intention of function.

CC: Lidza Louina <lidza.louina@gmail.com>
CC: Mark Hounschell <markh@compro.net>
Suggested-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_cls.c

index 4b65306..5a76a8e 100644 (file)
@@ -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);