]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:19:06 +0000 (09:19 -0800)
commit872a9a09233a2ff601bf3449cdd2be9e9b2c0ac2
treeed2341199ecb293678d5c56e13a014a7570920b3
parentf9dbd22994fae588903b99c328f81870e09795b8
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