Jiri Slaby 2a4be3a55c tty: serial: extract tx_ready() from __serial_lpc32xx_tx()
The condition in __serial_lpc32xx_tx()'s loop is barely readable.
Extract it to a separate function. This will make the cleanup in the
next patches easier too.

Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-22 16:14:08 +02:00
..
2022-09-22 16:12:34 +02:00
2021-07-27 12:17:21 +02:00
2022-01-31 14:30:06 +01:00
2022-09-05 07:59:28 +02:00
2021-07-27 12:17:21 +02:00
2021-10-21 12:35:35 +02:00
2021-10-21 12:35:35 +02:00
2022-09-22 16:12:34 +02:00
2021-07-27 12:17:21 +02:00
2022-09-22 16:12:34 +02:00
2022-09-22 16:12:34 +02:00
2021-07-27 12:17:21 +02:00