Re: [PATCH 1/2] serial: imx: Introduce timeout when waiting on transmitter empty

From: Esben Haabendal
Date: Fri Apr 05 2024 - 13:22:51 EST


Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> writes:

> On 05.04.2024 11:25:13, Esben Haabendal wrote:
>> By waiting at most 1 second for USR2_TXDC to be set, we avoid a potentital
>> deadlock.
>>
>> In case of the timeout, there is not much we can do, so we simply ignore
>> the transmitter state and optimistically try to continue.
>>
>> Signed-off-by: Esben Haabendal <esben@xxxxxxxxxx>
>> Acked-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
>
> Where's the cover letter and patch 2/2? Have a look at b4 [1], it's a
> great tool to help you with sending git patch series.

It is left out on purpose.

This patch is a stand-alone patch as it is. The other part of the series
you are talking about is not going to mainline for now. It needs still
quite some work, and will only go in after all the other printk stuff.

I hope we can merge this patch as it to mainline now, instead of piling
up more than necessary in the rt tree.

/Esben