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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat May 4 09:03:12 PDT 2024


On Thu, May 02, 2024 at 11:14:26AM +0200, Esben Haabendal wrote:
> Esben Haabendal <esben at geanix.com> writes:
> 
> > 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.
> >
> > Signed-off-by: Esben Haabendal <esben at geanix.com>
> > Acked-by: Marc Kleine-Budde <mkl at pengutronix.de>
> > ---
> >
> > v2:
> > - Fixed commit message typo
> > - Remove reference to patch series it originated from. This is a
> >   stand-alone patch
> >
> > v3:
> > - Moved this version information into the correct patch section
> 
> Anything more needed in order to get this merged?

Sorry, but I don't see this in my review queue anymore.  If this isn't
already accepted, please resend it, sorry about that.

greg k-h



More information about the linux-arm-kernel mailing list