]> git.karo-electronics.de Git - linux-beck.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@suse.de>
Tue, 24 Jan 2012 19:58:46 +0000 (11:58 -0800)
commitcdc32fd6f7b2b2580d7f1b74563f888e4dd9eb8a
tree4ad0042e30d0d678c953c383a9b0a2253bbf5813
parente5990874e511d5bbca23b3396419480cb2ca0ee7
USB: cp210x: initialise baud rate at open

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cp210x.c