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
2672 .altset_idx = 1,2672 .altset_idx = 1,
2673 .attributes = 0,2673 .attributes = 0,
2674 .endpoint = 0x82,2674 .endpoint = 0x82,
2675 .ep_idx = 1,
2675 .ep_attr = USB_ENDPOINT_XFER_ISOC,2676 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2676 .datainterval = 1,2677 .datainterval = 1,
2677 .maxpacksize = 0x0126,2678 .maxpacksize = 0x0126,
@@ -2875,6 +2876,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), · 197 unmodified lines
2875 .altset_idx = 1,2876 .altset_idx = 1,
2876 .attributes = 0x4,2877 .attributes = 0x4,
2877 .endpoint = 0x81,2878 .endpoint = 0x81,
2879 .ep_idx = 1,
2878 .ep_attr = USB_ENDPOINT_XFER_ISOC |2880 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2879 USB_ENDPOINT_SYNC_ASYNC,2881 USB_ENDPOINT_SYNC_ASYNC,
2880 .maxpacksize = 0x130,2882 .maxpacksize = 0x130,
@@ -3391,6 +3393,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), · 510 unmodified lines
3391 .altset_idx = 1,3393 .altset_idx = 1,
3392 .attributes = 0,3394 .attributes = 0,
3393 .endpoint = 0x03,3395 .endpoint = 0x03,
3396 .ep_idx = 1,
3394 .rates = SNDRV_PCM_RATE_96000,3397 .rates = SNDRV_PCM_RATE_96000,
3395 .ep_attr = USB_ENDPOINT_XFER_ISOC |3398 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3396 USB_ENDPOINT_SYNC_ASYNC,3399 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