Re: [PATCH 5.10 25/39] Revert "serial: 8250: Fix reporting real baudrate value in c_ospeed field"

From: Greg Kroah-Hartman
Date: Thu Sep 22 2022 - 02:59:13 EST


On Wed, Sep 21, 2022 at 10:05:02PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Johan Hovold <johan@xxxxxxxxxx>
> >
> > commit d02b006b29de14968ba4afa998bede0d55469e29 upstream.
> >
> > This reverts commit 32262e2e429cdb31f9e957e997d53458762931b7.
> >
> > The commit in question claims to determine the inverse of
> > serial8250_get_divisor() but failed to notice that some drivers override
> > the default implementation using a get_divisor() callback.
>
> I believe it would be better to remove bad commit and its revert,
> since it was not yet released.

No, our tools keep picking the original up as "hey, you missed this
one!", so I just added the revert here to make sure all is good going
forward.

thanks,

greg k-h