|
@@ -371,7 +371,7 @@ static int ti_startup(struct usb_serial *serial)
|
|
|
usb_set_serial_data(serial, tdev);
|
|
|
|
|
|
/* determine device type */
|
|
|
- if (usb_match_id(serial->interface, ti_id_table_3410))
|
|
|
+ if (serial->type == &ti_1port_device)
|
|
|
tdev->td_is_3410 = 1;
|
|
|
dev_dbg(&dev->dev, "%s - device type is %s\n", __func__,
|
|
|
tdev->td_is_3410 ? "3410" : "5052");
|