[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5c249dfc-90a6-7724-e884-9516aaf829fb@gmx.de>
Date: Tue, 29 Jun 2021 11:46:27 +0200
From: Lino Sanfilippo <LinoSanfilippo@....de>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: Greg KH <gregkh@...uxfoundation.org>, linux@...linux.org.uk,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] serial: amba-pl011: add RS485 support
Hi,
On 26.06.21 at 05:41, Jiri Slaby wrote:
> On 25. 06. 21, 13:21, Lino Sanfilippo wrote:
>> Thats right, the logic has slightly changed. I thought this does not matter as long as
>> we make sure that exactly one of both ON_SEND or AFTER_SEND is set.
>
> I actually don't know. But I would remain consistent with other drivers.
>
>> We can stick with the logic
>> in serial8250_em485_config() (i.e. always set ON_SEND and delete AFTER_SEND in case
>> of an invalid setting), but I think this will require more than the four lines that we
>> have now (especially if we want to avoid the !!).
>
> What if you used only a single !?
>
You are right, this is the easiest way to keep the current logic. I will do that.
Thanks,
Lino
Powered by blists - more mailing lists