]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix tty speed handling on 8250
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 28 Apr 2008 09:14:06 +0000 (02:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 22 Jun 2008 05:24:53 +0000 (22:24 -0700)
commit30bc30a080f7e3cdf74f5cf58a1d8eba5ad85cc9
treebfc08d65effc3ac72bd0fe85754a4ea3370790f9
parent864f24395c72b6a6c48d13f409f986dc71a5cf4a
Fix tty speed handling on 8250

commit e991a2bd4fa0b2f475b67dfe8f33e8ecbdcbb40b upstream.

We try and write the correct speed back but the serial midlayer already
mangles the speed on us and that means if we request B0 we report back B9600
when we should not.  For now we'll hack around this in the drivers and serial
code, pending a better long term solution.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/8250.c