]> git.baikalelectronics.ru Git - kernel.git/commit
USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 26 Aug 2020 19:46:24 +0000 (15:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Aug 2020 07:24:05 +0000 (09:24 +0200)
commit56a468e348c239cc621797e4ff535a1c3640b5ac
tree8289576a6ad36ac34301429905329ae34d972fc3
parent1f2d015b5dfb8fc28ee7b15f725480ecf0d00c04
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 ad9ca36f46dd ("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 <jcbarnoud@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: <stable@vger.kernel.org>
Fixes: 50456868ace6 ("USB: core: fix check for duplicate endpoints")
Link: https://lore.kernel.org/r/20200826194624.GA412633@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c