Commit 00e9ff59 authored by Zefan Li's avatar Zefan Li

Revert "USB: Add OTG PET device to TPL"

This reverts commit 97fa724b.

Conflicts:
	drivers/usb/core/quirks.c
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 7862b8a3
...@@ -59,11 +59,6 @@ static int is_targeted(struct usb_device *dev) ...@@ -59,11 +59,6 @@ static int is_targeted(struct usb_device *dev)
le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) le16_to_cpu(dev->descriptor.idProduct) == 0xbadd))
return 0; return 0;
/* OTG PET device is always targeted (see OTG 2.0 ECN 6.4.2) */
if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
le16_to_cpu(dev->descriptor.idProduct) == 0x0200))
return 1;
/* NOTE: can't use usb_match_id() since interface caches /* NOTE: can't use usb_match_id() since interface caches
* aren't set up yet. this is cut/paste from that code. * aren't set up yet. this is cut/paste from that code.
*/ */
......
...@@ -184,10 +184,6 @@ static const struct usb_device_id usb_interface_quirk_list[] = { ...@@ -184,10 +184,6 @@ static const struct usb_device_id usb_interface_quirk_list[] = {
{ USB_VENDOR_AND_INTERFACE_INFO(0x046d, USB_CLASS_VIDEO, 1, 0), { USB_VENDOR_AND_INTERFACE_INFO(0x046d, USB_CLASS_VIDEO, 1, 0),
.driver_info = USB_QUIRK_RESET_RESUME }, .driver_info = USB_QUIRK_RESET_RESUME },
/* Protocol and OTG Electrical Test Device */
{ USB_DEVICE(0x1a0a, 0x0200), .driver_info =
USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
{ } /* terminating entry must be last */ { } /* terminating entry must be last */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment