Johan Hovold eb833a9e09 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 <torbjorn@pi.nxs.se>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-24 11:20:10 -08:00
..
2010-03-02 14:54:16 -08:00
2011-03-31 11:26:23 -03:00
2010-05-20 13:21:47 -07:00
2011-11-15 10:06:15 -08:00
2010-05-20 13:21:47 -07:00
2008-07-22 13:03:22 -07:00
2010-05-20 13:21:32 -07:00