https://github.com/torvalds/linux
Revision 16ae2a877bf4179737921235e85ceffd7b79354f authored by Alan Cox on 04 January 2010, 16:26:21 UTC, committed by Greg Kroah-Hartman on 20 January 2010, 23:03:29 UTC
In that situation if the old rate is invalid and the new rate is invalid
and the chip cannot do 9600 baud we report zero, which makes all the
drivers explode.

Instead force the rate based on min/max

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 4547be7
History
Tip revision: 16ae2a877bf4179737921235e85ceffd7b79354f authored by Alan Cox on 04 January 2010, 16:26:21 UTC
serial: Fix crash if the minimum rate of the device is > 9600 baud
Tip revision: 16ae2a8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top