Re: [PATCH] ALSA: usb-audio: quirks: Add USB_QUIRK_DISCONNECT_SUSPEND quirk for Lenovo A630Z TIO built-in usb audio card

From: Lars Melin
Date: Thu Sep 03 2020 - 22:49:48 EST


On 9/4/2020 08:45, Penghao wrote:

--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -403,6 +403,10 @@ static const struct usb_device_id usb_quirk_list[] = {
{ USB_DEVICE(0x12d1, 0x15c3), .driver_info =
USB_QUIRK_DISCONNECT_SUSPEND },
+ /* Lenovo A630Z TIO build-in usb sound card */
+ { USB_DEVICE9(0x17ef, 0xa012), driver_info =
+ USB_QUIRK_DISCONNECT_SUSPEND },
+
/* SKYMEDI USB_DRIVE */
{ USB_DEVICE(0x1516, 0x8628), .driver_info = USB_QUIRK_RESET_RESUME },


This list was sorted in a beautiful ascending order of vid, pid before you entered your quirk..

rgds
Lars