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>
This commit is contained in:
parent
a030501499
commit
4d8d5a392a
|
@ -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=
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue