diff mbox series

ALSA: usb-audio: add implicit fb quirk for MOTU M Series

Message ID 20200115151358.56672-1-alexander@tsoy.me (mailing list archive)
State New, archived
Headers show
Series ALSA: usb-audio: add implicit fb quirk for MOTU M Series | expand

Commit Message

Alexander Tsoy Jan. 15, 2020, 3:13 p.m. UTC
This fixes crackling sound during playback.

Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
---

MOTU is known for reusing Product IDs for different devices or different
generations of the device (e.g. MicroBook I/II/IIc shares a single Product
ID). This patch was only tested with M4 audio interface, but the same
Product ID is also used by M2. Hope it will work for M2 as well.

 sound/usb/pcm.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Takashi Iwai Jan. 16, 2020, 9:46 a.m. UTC | #1
On Wed, 15 Jan 2020 16:13:58 +0100,
Alexander Tsoy wrote:
> 
> This fixes crackling sound during playback.
> 
> Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
> ---
> 
> MOTU is known for reusing Product IDs for different devices or different
> generations of the device (e.g. MicroBook I/II/IIc shares a single Product
> ID). This patch was only tested with M4 audio interface, but the same
> Product ID is also used by M2. Hope it will work for M2 as well.

Applied now.

I copied this note to the changelog as it's a pretty useful
information, too.


thanks,

Takashi
diff mbox series

Patch

diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index a11c8150af58..4f1c00615d94 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -348,6 +348,10 @@  static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs,
 		ep = 0x84;
 		ifnum = 0;
 		goto add_sync_ep_from_ifnum;
+	case USB_ID(0x07fd, 0x0008): /* MOTU M Series */
+		ep = 0x81;
+		ifnum = 2;
+		goto add_sync_ep_from_ifnum;
 	case USB_ID(0x0582, 0x01d8): /* BOSS Katana */
 		/* BOSS Katana amplifiers do not need quirks */
 		return 0;