summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/visor.h
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-01-10 22:33:37 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 19:20:10 (GMT)
commiteb833a9e0972f60beb4ab8104ad7ef6bf30f02fc (patch)
treee0de114cb5ad208618508f5dae5c8cc5ef7aa571 /drivers/usb/serial/visor.h
parent55305afc30529143bdb5928b2154dccdf073acd5 (diff)
downloadlinux-fsl-qoriq-eb833a9e0972f60beb4ab8104ad7ef6bf30f02fc.tar.xz
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>
Diffstat (limited to 'drivers/usb/serial/visor.h')
0 files changed, 0 insertions, 0 deletions