Thread (3 messages) 3 messages, 3 authors, 2012-09-21
DORMANTno replies

Re: [PATCH 1/3] serial: pl011: safeguard against impossible baudrates

From: Linus Walleij <hidden>
Date: 2012-09-21 08:26:52
Also in: linux-arm-kernel

On Thu, Sep 20, 2012 at 8:57 PM, Russell King - ARM Linux
[off-list ref] wrote:
uart_get_baud_rate() is there precisely to do the right thing for invalid
baud rates, which is to fallback to the old termios setting (and update
the new termios with that) if the old termios setting satisifies the
limits, if not it falls back to something within the limited range.
Yeah, hm, passing 4800000 as max rate to this function and
requesting 4050000 returns 4000000... (Other high baud rates
such as 3250000 or 3000000 works fine) so there is some fishy
bug in there we're just duct-taping around, I'll go hunt the real bug
instead.

Thanks!
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help