aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeunghun Lee <waydi1@gmail.com>2014-07-31 09:30:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-01 17:50:04 -0400
commit83f053de12db59d44ab534e7ad86a87a83936826 (patch)
tree831ae9e9f4ab2f18d127066776fd3d0080b31eca
parent578dc59f20199c854507dd5f04839ffcaf655ce3 (diff)
staging: dgnc: rephrase comment
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>
-rw-r--r--drivers/staging/dgnc/dgnc_cls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
index 4b65306b22ac..5a76a8e2f6cf 100644
--- a/drivers/staging/dgnc/dgnc_cls.c
+++ b/drivers/staging/dgnc/dgnc_cls.c
@@ -1040,11 +1040,11 @@ static void cls_flush_uart_read(struct channel_t *ch)
1040 * For complete POSIX compatibility, we should be purging the 1040 * For complete POSIX compatibility, we should be purging the
1041 * read FIFO in the UART here. 1041 * read FIFO in the UART here.
1042 * 1042 *
1043 * However, doing the statement below also incorrectly flushes 1043 * However, clearing the read FIFO (UART_FCR_CLEAR_RCVR) also
1044 * write data as well as just basically trashing the FIFO. 1044 * incorrectly flushes write data as well as just basically trashing the
1045 * FIFO.
1045 * 1046 *
1046 * I believe this is a BUG in this UART. 1047 * Presumably, this is a bug in this UART.
1047 * So for now, we will leave the code #ifdef'ed out...
1048 */ 1048 */
1049 1049
1050 udelay(10); 1050 udelay(10);