Re: [PATCH v3] serial/8250/8250_early: Prevent rounding error in uartclk

2012-10-05 Thread Greg KH
On Wed, Oct 03, 2012 at 04:53:06PM +0400, Alexey Brodkin wrote: > On 03.10.2012 16:37, Alan Cox wrote: > >>So the bug had been latent and it only showed up with such low cock > >>rates. > > > >clock ? > > > >Perhaps Greg can tweak the description as it goes in - otherwise all > >fine with me > > >

Re: [PATCH v3] serial/8250/8250_early: Prevent rounding error in uartclk

2012-10-03 Thread Alexey Brodkin
On 03.10.2012 16:37, Alan Cox wrote: So the bug had been latent and it only showed up with such low cock rates. clock ? Perhaps Greg can tweak the description as it goes in - otherwise all fine with me Sorry for this. Essentially I meant "clock". May do another respin if needed. -- To unsubs

Re: [PATCH v3] serial/8250/8250_early: Prevent rounding error in uartclk

2012-10-03 Thread Alan Cox
> So the bug had been latent and it only showed up with such low cock > rates. clock ? Perhaps Greg can tweak the description as it goes in - otherwise all fine with me -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH v3] serial/8250/8250_early: Prevent rounding error in uartclk

2012-10-03 Thread Alexey Brodkin
Modify divisor to select the nearest baud rate divider rather than the lowest. It minimizes baud rate errors especially on low UART clock frequencies. For example, if uartclk is 3300 and baud is 115200 the ratio is about 17.9 The current code selects 17 (5% error) but should select 18 (0.5% er