]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: ti_usb_3410_5052: fix dynamic-id matching
authorJohan Hovold <jhovold@gmail.com>
Fri, 28 Jun 2013 10:24:26 +0000 (12:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2013 08:50:48 +0000 (16:50 +0800)
commit592bafa7e0741a4f211e61d5043f16cf59d0023c
tree751693d9ef55ea79bd68b0ecd099be1588a0ef52
parent003dda8a8dedc8a2e90f33fd0745b9529afdf161
USB: ti_usb_3410_5052: fix dynamic-id matching

commit 1fad56424f5ad3ce4973505a357212b2e2282b3f upstream.

The driver failed to take the dynamic ids into account when determining
the device type and therefore all devices were detected as 2-port
devices when using the dynamic-id interface.

Match on the usb-serial-driver field instead of doing redundant id-table
searches.

Reported-by: Anders Hammarquist <iko@iko.pp.se>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ti_usb_3410_5052.c