]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:29 +0000 (08:58 -0700)
commita134e0a0dfe1c96aa4c592131f8342ea5a041de4
tree9fc9dab71bc47d38e31fc2e55247b928bfa516d5
parente2771ed69d5c090904deefa1920511c478f9a486
Fix tty speed handling on 8250

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>
drivers/serial/8250.c