mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
usb-serial: Add Siemens EF81 to PL-2303 hack triggers
This hardware needs the pl2303 hack in order to work properly :( Signed-off-by: Andreas Bombe <aeb@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
01c1714265
commit
ce816cf9c9
1 changed files with 3 additions and 1 deletions
|
@ -733,7 +733,9 @@ int usb_serial_probe(struct usb_interface *interface,
|
|||
((le16_to_cpu(dev->descriptor.idVendor) == ATEN_VENDOR_ID) &&
|
||||
(le16_to_cpu(dev->descriptor.idProduct) == ATEN_PRODUCT_ID)) ||
|
||||
((le16_to_cpu(dev->descriptor.idVendor) == ALCOR_VENDOR_ID) &&
|
||||
(le16_to_cpu(dev->descriptor.idProduct) == ALCOR_PRODUCT_ID))) {
|
||||
(le16_to_cpu(dev->descriptor.idProduct) == ALCOR_PRODUCT_ID)) ||
|
||||
((le16_to_cpu(dev->descriptor.idVendor) == SIEMENS_VENDOR_ID) &&
|
||||
(le16_to_cpu(dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_EF81))) {
|
||||
if (interface != dev->actconfig->interface[0]) {
|
||||
/* check out the endpoints of the other interface*/
|
||||
iface_desc = dev->actconfig->interface[0]->cur_altsetting;
|
||||
|
|
Loading…
Reference in a new issue