Thread (2 messages) 2 messages, 2 authors, 2022-09-20

Re: [PATCH v4 05/10] tty: serial: extract tx_ready() from __serial_lpc32xx_tx()

From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Date: 2022-09-20 08:13:57
Also in: linux-serial, lkml

On Tue, 20 Sep 2022, Jiri Slaby wrote:
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: <redacted>
Signed-off-by: Jiri Slaby <redacted>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

I noticed that wait_for_xmit_ready() uses < 32 for the similar check 
which seems fishy...


-- 
 i.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help