Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alberto Aguirre <albaguirre@gmail.com>
To: alsa-devel@alsa-project.org
Cc: Alberto Aguirre <albaguirre@gmail.com>
Subject: [PATCH 2/2] ALSA: usb-audio: add implicit fb quirk for Axe-Fx III
Date: Wed, 18 Apr 2018 09:35:35 -0500	[thread overview]
Message-ID: <20180418143535.11097-3-albaguirre@gmail.com> (raw)
In-Reply-To: <20180418143535.11097-1-albaguirre@gmail.com>

The Axe-Fx III implicit feedback end point and the data sink endpoint
are in different interface descriptors. Add quirk to ensure a sync
endpoint is properly configured.

Signed-off-by: Alberto Aguirre <albaguirre@gmail.com>
---
 sound/usb/pcm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index c0746cc20ac4..ad39b3cca247 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -342,6 +342,10 @@ static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs,
 		ep = 0x86;
 		ifnum = 2;
 		goto add_sync_ep_from_ifnum;
+	case USB_ID(0x2466, 0x8010): /* Fractal Audio Axe-Fx III */
+		ep = 0x81;
+		ifnum = 2;
+		goto add_sync_ep_from_ifnum;
 	case USB_ID(0x1397, 0x0002): /* Behringer UFX1204 */
 		ep = 0x81;
 		ifnum = 1;
-- 
2.14.1

  parent reply	other threads:[~2018-04-18 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 14:35 [PATCH 0/2] Add support for the Axe-Fx III implicit fb setup Alberto Aguirre
2018-04-18 14:35 ` [PATCH 1/2] ALSA: usb-audio: simplify set_sync_ep_implicit_fb_quirk Alberto Aguirre
2018-04-18 14:35 ` Alberto Aguirre [this message]
2018-04-19  9:49 ` [PATCH 0/2] Add support for the Axe-Fx III implicit fb setup Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180418143535.11097-3-albaguirre@gmail.com \
    --to=albaguirre@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox