Re: [PATCH v2] serial: imx: Introduce timeout when waiting on transmitter empty

From: Greg Kroah-Hartman
Date: Thu Apr 11 2024 - 08:06:59 EST


On Wed, Apr 10, 2024 at 09:18:32AM +0200, Esben Haabendal wrote:
> By waiting at most 1 second for USR2_TXDC to be set, we avoid a potential
> 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.
>
> v2:
> - Fixed commit message typo
> - Remove reference to patch series it originated from. This is a
> stand-alone patch

The "v2:" stuff needs to go below the --- line, so it doesn't show up in
the kernel changelog. The kernel documentation should describe this,
right?

Please fix up and send a v3.

thanks,

greg k-h