Skip to content

Commit

Permalink
tty: serial: 8250: Fix wording in runtime-PM comments
Browse files Browse the repository at this point in the history
Frans reworded the two comments with better English for better
understanding. His review hit the mailing list after the patch got
applied so here is an incremental update.

Reported-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sebastian Andrzej Siewior authored and Greg Kroah-Hartman committed Nov 6, 2014
1 parent 914d3b1 commit 6a529ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/serial/8250/8250_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static void serial8250_rpm_put(struct uart_8250_port *p)
}

/*
* This two wrapper ensure, that enable_runtime_pm_tx() can be called more than
* These two wrappers ensure that enable_runtime_pm_tx() can be called more than
* once and disable_runtime_pm_tx() will still disable RPM because the fifo is
* empty and the HW can idle again.
*/
Expand Down Expand Up @@ -1535,7 +1535,7 @@ void serial8250_tx_chars(struct uart_8250_port *up)
DEBUG_INTR("THRE...");

/*
* With RPM enabled, we have to wait once the FIFO is empty before the
* With RPM enabled, we have to wait until the FIFO is empty before the
* HW can go idle. So we get here once again with empty FIFO and disable
* the interrupt and RPM in __stop_tx()
*/
Expand Down

0 comments on commit 6a529ab

Please sign in to comment.