From: Johan Hovold Date: Tue, 10 Jan 2012 22:33:37 +0000 (+0100) Subject: USB: ftdi_sio: fix TIOCSSERIAL baud_base handling X-Git-Tag: v3.3-rc2~5^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb833a9e0972f60beb4ab8104ad7ef6bf30f02fc;p=pandora-kernel.git USB: ftdi_sio: fix TIOCSSERIAL baud_base handling Return EINVAL if new baud_base does not match the current one. The baud_base is device specific and can not be changed. This restores the old (pre-2005) behaviour which was changed due to a misunderstanding regarding this fact (see https://lkml.org/lkml/2005/1/20/84). Reported-by: Torbjörn Lofterud Signed-off-by: Johan Hovold Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed