Skip to content

Commit 7b0efea

Browse files
committed
ALSA: usb-audio: Add missing ep_idx in fixed EP quirks
The quirk entry for Focusrite Saffire 6 had no proper ep_idx for the capture endpoint, and this confused the driver, resulting in the broken sound. This patch adds the missing ep_idx in the entry. While we are at it, a couple of other entries (for Digidesign MBox and MOTU MicroBook II) seem to have the same problem, and those are covered as well. Fixes: bf6313a ("ALSA: usb-audio: Refactor endpoint management") Reported-by: André Kapelrud <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 5ce0b06 commit 7b0efea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/usb/quirks-table.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
26722672
.altset_idx = 1,
26732673
.attributes = 0,
26742674
.endpoint = 0x82,
2675+
.ep_idx = 1,
26752676
.ep_attr = USB_ENDPOINT_XFER_ISOC,
26762677
.datainterval = 1,
26772678
.maxpacksize = 0x0126,
@@ -2875,6 +2876,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
28752876
.altset_idx = 1,
28762877
.attributes = 0x4,
28772878
.endpoint = 0x81,
2879+
.ep_idx = 1,
28782880
.ep_attr = USB_ENDPOINT_XFER_ISOC |
28792881
USB_ENDPOINT_SYNC_ASYNC,
28802882
.maxpacksize = 0x130,
@@ -3391,6 +3393,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
33913393
.altset_idx = 1,
33923394
.attributes = 0,
33933395
.endpoint = 0x03,
3396+
.ep_idx = 1,
33943397
.rates = SNDRV_PCM_RATE_96000,
33953398
.ep_attr = USB_ENDPOINT_XFER_ISOC |
33963399
USB_ENDPOINT_SYNC_ASYNC,

0 commit comments

Comments
 (0)