]> git.proxmox.com Git - mirror_ubuntu-kernels.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>
Wed, 24 Jul 2013 22:55:38 +0000 (15:55 -0700)
commit1fad56424f5ad3ce4973505a357212b2e2282b3f
treeaa874f2aada643de298802bb4206e5c25efcf9ad
parent94190301ffa059c2d127b3a67ec5d161d5c62681
USB: ti_usb_3410_5052: fix dynamic-id matching

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>
Cc: stable <stable@vger.kernel.org>
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