OSDN Git Service

serial: mvebu-uart: clarify the baud rate derivation
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 23 Nov 2018 15:45:29 +0000 (16:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 08:20:17 +0000 (09:20 +0100)
commit0e4cf69ede8751d25f733cd7a6f954c5b505fa03
tree2aff075fbff910440248bc08885da972f0f7dfe0
parent20d8e8611eb0596047fd4389be7a7203a883b9bf
serial: mvebu-uart: clarify the baud rate derivation

The current comment in ->set_baud_rate() is rather incomplete as it
fails to describe what are the actual stages for the baudrate
derivation. Replace this comment with something more explicit and
close to the functional specification. Also adapt the variable names
to it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mvebu-uart.c