Skip to content

Commit 068834a

Browse files
AlanSterngregkh
authored andcommitted
USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
The Sound Devices MixPre-D audio card suffers from the same defect as the Sound Devices USBPre2: an endpoint shared between a normal audio interface and a vendor-specific interface, in violation of the USB spec. Since the USB core now treats duplicated endpoints as bugs and ignores them, the audio endpoint isn't available and the card can't be used for audio capture. Along the same lines as commit bdd1b14 ("USB: quirks: blacklist duplicate ep on Sound Devices USBPre2"), this patch adds a quirks entry saying to ignore ep5in for interface 1, leaving it available for use with standard audio interface 2. Reported-and-tested-by: Jean-Christophe Barnoud <[email protected]> Signed-off-by: Alan Stern <[email protected]> CC: <[email protected]> Fixes: 3e4f8e2 ("USB: core: fix check for duplicate endpoints") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 23e26d0 commit 068834a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/usb/core/quirks.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ static const struct usb_device_id usb_quirk_list[] = {
370370
{ USB_DEVICE(0x0926, 0x0202), .driver_info =
371371
USB_QUIRK_ENDPOINT_IGNORE },
372372

373+
/* Sound Devices MixPre-D */
374+
{ USB_DEVICE(0x0926, 0x0208), .driver_info =
375+
USB_QUIRK_ENDPOINT_IGNORE },
376+
373377
/* Keytouch QWERTY Panel keyboard */
374378
{ USB_DEVICE(0x0926, 0x3333), .driver_info =
375379
USB_QUIRK_CONFIG_INTF_STRINGS },
@@ -511,6 +515,7 @@ static const struct usb_device_id usb_amd_resume_quirk_list[] = {
511515
*/
512516
static const struct usb_device_id usb_endpoint_ignore[] = {
513517
{ USB_DEVICE_INTERFACE_NUMBER(0x0926, 0x0202, 1), .driver_info = 0x85 },
518+
{ USB_DEVICE_INTERFACE_NUMBER(0x0926, 0x0208, 1), .driver_info = 0x85 },
514519
{ }
515520
};
516521

0 commit comments

Comments
 (0)