USB: cp210x: initialise baud rate at open
authorJohan Hovold <jhovold@gmail.com>
Sun, 15 Jan 2012 23:36:52 +0000 (00:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:22:26 +0000 (09:22 -0800)
commit5e005e788f5e28a20355be9d50c05c76b48e6d7e
treeb7032300034bc5aa09ecbbb9b5f43ca08f242a81
parent4a48179074ac1ee5ed21a6ea0c5416a65a2776f1
USB: cp210x: initialise baud rate at open

commit cdc32fd6f7b2b2580d7f1b74563f888e4dd9eb8a upstream.

The newer cp2104 devices require the baud rate to be initialised after
power on. Make sure it is set when port is opened.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: Preston Fick <preston.fick@silabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/cp210x.c