]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Thu, 20 Jun 2013 19:01:38 +0000 (12:01 -0700)
commit70b6bf5ba36ef71e7301553ee79f718380a546a7
tree8d59110b95181654209fb4615a582ccd5150f03a
parent4f0856222860481ce20b248cdd824dce7c995d74
USB: spcp8x5: fix device initialisation at open

commit 5e4211f1c47560c36a8b3d4544dfd866dcf7ccd0 upstream.

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

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