]> git.baikalelectronics.ru Git - kernel.git/commit
USB: spcp8x5: fix device initialisation at open
authorJohan Hovold <jhovold@gmail.com>
Mon, 10 Jun 2013 16:29:39 +0000 (18:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2013 18:00:49 +0000 (11:00 -0700)
commit2f7f10b91afc7a61ad9ddeca6f1d3d9bde1f9e05
tree1d41c51b3481d7a602a41e4a8140965612b8f71d
parent486c2e63c4c8e27b93b19ae8e07bcd8d4c2815fe
USB: spcp8x5: fix device initialisation at open

Do not use uninitialised termios data to determine when to configure the
device at open.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/spcp8x5.c