serial: max310x: change confusing comment about Tx FIFO
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 22 Nov 2023 17:59:56 +0000 (12:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Nov 2023 07:23:16 +0000 (07:23 +0000)
commit1be5f0819c1adc8308ecdc248314c5f30c994452
tree9bda9e01b678dd9065ac1327f4878104a3db995b
parentfffa35a25b4ced5ec89b1c12cf6a4f1d9541d3cb
serial: max310x: change confusing comment about Tx FIFO

The comment wording can be confusing, as txlen will return the number of
bytes available in the FIFO, which can be less than the maximum theoretical
Tx FIFO size.

Change the comment so that it is unambiguous.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231122175957.3875102-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c