serial: speed setup failure reporting
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 5 Feb 2008 06:27:53 +0000 (22:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:10 +0000 (09:44 -0800)
commit6d4d67beb963de8865499781b8523e5b683819c3
tree597ebf45d858b56ce00ab98f634081be15e5e8a1
parentc8c6bfa39d6bd7347f43937c8767ae145b61bcb4
serial: speed setup failure reporting

Invalid speeds are forced to 9600. Update the code for this to encode new
style baud rates properly.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_core.c