Re: [PATCH] atmel_serial: Filter out FP during baud rate detection

From: Haavard Skinnemoen
Date: Tue May 27 2008 - 09:53:21 EST


Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx> wrote:
> I made a change to u-boot that used the FP (Fractional Part) field of
> BRGR to achieve more accurate baud rate generation. Unfortunately, the
> atmel_serial driver looks at the whole BRGR register when trying to
> detect the baud rate that the port is currently running at, so setting
> FP to a nonzero value breaks the baud rate detection.
>
> I'll sit on the u-boot patch for a while longer, but this is clearly a
> bug in the atmel_serial driver which should be fixed.
>
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx>

Oh, and before you ask: I think this should go into 2.6.26 and possibly
-stable as well. The sooner we get this into mainline, the sooner we
can start using fractional dividers in u-boot.

Haavard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/