1
0
Fork 0

usb: core: Add USB_QUIRK_DELAY_CTRL_MSG to usbcore quirks

There's a new quirk, USB_QUIRK_DELAY_CTRL_MSG. Add it to usbcore quirks
for completeness.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
zero-colors
Kai-Heng Feng 2018-03-24 03:26:36 +08:00 committed by Greg Kroah-Hartman
parent a030501499
commit 4d8d5a392a
2 changed files with 6 additions and 1 deletions

View File

@ -4421,7 +4421,9 @@
calculation);
m = USB_QUIRK_DISCONNECT_SUSPEND (Device needs
to be disconnected before suspend to
prevent spurious wakeup)
prevent spurious wakeup);
n = USB_QUIRK_DELAY_CTRL_MSG (Device needs a
pause after every control message);
Example: quirks=0781:5580:bk,0a5c:5834:gij
usbhid.mousepoll=

View File

@ -124,6 +124,9 @@ static int quirks_param_set(const char *val, const struct kernel_param *kp)
case 'm':
flags |= USB_QUIRK_DISCONNECT_SUSPEND;
break;
case 'n':
flags |= USB_QUIRK_DELAY_CTRL_MSG;
break;
/* Ignore unrecognized flag characters */
}
}