Re: [PATCH 1/2] serial: imx: Introduce timeout when waiting on transmitter empty
From: Esben Haabendal
Date: Mon Apr 08 2024 - 04:56:37 EST
Fabio Estevam <festevam@xxxxxxxxx> writes:
> On Fri, Apr 5, 2024 at 6:25 AM Esben Haabendal <esben@xxxxxxxxxx> wrote:
>>
>> By waiting at most 1 second for USR2_TXDC to be set, we avoid a potentital
>
> s/potentital/potential
Thanks, fixing.
> Could you elaborate on this deadlock? Have you seen it in practice?
I cannot say for sure if I have seen it. But in some cases, that is
exactly what you would see. Nothing.
If it would occur during shutdown, the console would simply stop/block,
and you would see nothing.
> Should a Fixes tag be added?
Which commit should I add to that tag? The polling without timeout dates
back to at least 2.6.12-rc2.
/Esben