History

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.

Takashi Iwai committed 4 years ago

Commit 7b0efea1 parent 5ce0b061 file · +3 −0Browse files

Unified · Split

sound/usb/quirks-table.h+3−0
@@ -2672,6 +2672,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), · 2671 unmodified lines
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"), · 197 unmodified lines
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"), · 510 unmodified lines
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,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t