Merge 5.0-rc2 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -143,9 +143,12 @@ int usb_choose_configuration(struct usb_device *udev)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (i > 0 && desc && is_audio(desc) && is_uac3_config(desc)) {
|
||||
best = c;
|
||||
break;
|
||||
if (i > 0 && desc && is_audio(desc)) {
|
||||
if (is_uac3_config(desc)) {
|
||||
best = c;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
/* From the remaining configs, choose the first one whose
|
||||
|
@@ -394,7 +394,8 @@ static const struct usb_device_id usb_quirk_list[] = {
|
||||
{ USB_DEVICE(0x1a40, 0x0101), .driver_info = USB_QUIRK_HUB_SLOW_RESET },
|
||||
|
||||
/* Corsair K70 RGB */
|
||||
{ USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT },
|
||||
{ USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT |
|
||||
USB_QUIRK_DELAY_CTRL_MSG },
|
||||
|
||||
/* Corsair Strafe */
|
||||
{ USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT |
|
||||
|
Reference in New Issue
Block a user