USB: whiteheat: fix broken port configuration
authorJohan Hovold <jhovold@gmail.com>
Thu, 6 Jun 2013 11:32:47 +0000 (13:32 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2013 01:16:56 +0000 (02:16 +0100)
commitd5567ec48e25d29d61a33bccd6047e1f7bd82da9
tree44f96eefd51034cefad42d9b1b170d63834529bd
parent5b9ca6b68cfa7fffcf9db83dbca90bbcad57d040
USB: whiteheat: fix broken port configuration

commit 9eecf22d2b375b9064a20421c6c307b760b03d46 upstream.

When configuring the port (e.g. set_termios) the port minor number
rather than the port number was used in the request (and they only
coincide for minor number 0).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/whiteheat.c