mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Revert "USB: Add device quirk for ASUS T100 Base Station keyboard"
This reverts commit eea5a87d27
.
Conflicts:
drivers/usb/core/quirks.c
include/linux/usb/quirks.h
Signed-off-by: Zefan Li <lizefan@huawei.com>
This commit is contained in:
parent
d64519bf05
commit
7862b8a351
3 changed files with 2 additions and 11 deletions
|
@ -1655,10 +1655,8 @@ void usb_set_device_state(struct usb_device *udev,
|
|||
|| new_state == USB_STATE_SUSPENDED)
|
||||
; /* No change to wakeup settings */
|
||||
else if (new_state == USB_STATE_CONFIGURED)
|
||||
wakeup = (udev->quirks &
|
||||
USB_QUIRK_IGNORE_REMOTE_WAKEUP) ? 0 :
|
||||
udev->actconfig->desc.bmAttributes &
|
||||
USB_CONFIG_ATT_WAKEUP;
|
||||
wakeup = udev->actconfig->desc.bmAttributes
|
||||
& USB_CONFIG_ATT_WAKEUP;
|
||||
else
|
||||
wakeup = 0;
|
||||
}
|
||||
|
|
|
@ -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),
|
||||
.driver_info = USB_QUIRK_RESET_RESUME },
|
||||
|
||||
/* ASUS Base Station(T100) */
|
||||
{ USB_DEVICE(0x0b05, 0x17e0), .driver_info =
|
||||
USB_QUIRK_IGNORE_REMOTE_WAKEUP },
|
||||
|
||||
/* Protocol and OTG Electrical Test Device */
|
||||
{ USB_DEVICE(0x1a0a, 0x0200), .driver_info =
|
||||
USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
descriptor */
|
||||
#define USB_QUIRK_DELAY_INIT 0x00000040
|
||||
|
||||
/* device generates spurious wakeup, ignore remote wakeup capability */
|
||||
#define USB_QUIRK_IGNORE_REMOTE_WAKEUP 0x00000200
|
||||
|
||||
/* device can't handle device_qualifier descriptor requests */
|
||||
#define USB_QUIRK_DEVICE_QUALIFIER 0x00000100
|
||||
|
||||
|
|
Loading…
Reference in a new issue