Patch 2.6.32.28 to 2.6.32.32
/drivers/usb/serial/visor.c
blob:9af8c2fe0043d51d5a5e3d9841c02d0252ca2819 -> blob:c14087018887e62213cb75965c4e6fa9c519e403
--- drivers/usb/serial/visor.c
+++ drivers/usb/serial/visor.c
@@ -27,7 +27,6 @@
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
-#include <linux/usb/cdc.h>
#include "visor.h"
/*
@@ -759,17 +758,6 @@ static int visor_probe(struct usb_serial
dbg("%s", __func__);
- /*
- * some Samsung Android phones in modem mode have the same ID
- * as SPH-I500, but they are ACM devices, so dont bind to them
- */
- if (id->idVendor == SAMSUNG_VENDOR_ID &&
- id->idProduct == SAMSUNG_SPH_I500_ID &&
- serial->dev->descriptor.bDeviceClass == USB_CLASS_COMM &&
- serial->dev->descriptor.bDeviceSubClass ==
- USB_CDC_SUBCLASS_ACM)
- return -ENODEV;
-
if (serial->dev->actconfig->desc.bConfigurationValue != 1) {
dev_err(&serial->dev->dev, "active config #%d != 1 ??\n",
serial->dev->actconfig->desc.bConfigurationValue);