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)
commit5e4211f1c47560c36a8b3d4544dfd866dcf7ccd0
tree1d41c51b3481d7a602a41e4a8140965612b8f71d
parent21886725d58e92188159731c7c1aac803dd6b9dc
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