Thread (36 messages) 36 messages, 4 authors, 2022-06-30

Re: [PATCH 8/8] serial: 8250: lpc18xx: Remove redundant sanity check for RS485 flags

From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Date: 2022-06-25 10:18:55
Also in: linux-devicetree, linux-serial, lkml

On Wed, 22 Jun 2022, Lino Sanfilippo wrote:
From: Lino Sanfilippo <redacted>

Before the drivers rs485_config() function is called the serial core
already ensures that only one of both options RTS on send or RTS after send
is set. So remove the concerning sanity check in the driver function to
avoid redundancy.

Signed-off-by: Lino Sanfilippo <redacted>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

-- 
 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