]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ftdi_sio: fix initial baud rate
authorJohan Hovold <jhovold@gmail.com>
Wed, 18 Jan 2012 00:46:00 +0000 (01:46 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 19:20:11 +0000 (11:20 -0800)
commit6115afc69b4fb858d06db2f2b7ec8d77a22f14cf
tree4fa48e2d3dc67133757f6272135dbdfe7f050b94
parentedc884cc055d71a5d4a0215fe54df3154c871d62
USB: ftdi_sio: fix initial baud rate

Fix regression introduced by commit e3de54b8d6ab ("USB: Fix Corruption
issue in USB ftdi driver ftdi_sio.c") which caused the termios settings
to no longer be initialised at open. Consequently it was no longer
possible to set the port to the default speed of 9600 baud without first
changing to another baud rate and back again.

Reported-by: Roland Ramthun <mail@roland-ramthun.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Tested-by: Roland Ramthun <mail@roland-ramthun.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c