From: Takashi Iwai Subject: Re: [PATCH] ALSA: usb-audio: add implicit fb quirk for Axe-Fx II Date: Fri, 09 Dec 2016 11:19:43 +0100 Message-ID: References: <20161208063648.28856-1-albaguirre@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E1FAF26058A for ; Fri, 9 Dec 2016 11:19:45 +0100 (CET) In-Reply-To: <20161208063648.28856-1-albaguirre@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alberto Aguirre Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Thu, 08 Dec 2016 07:36:48 +0100, Alberto Aguirre wrote: > > The Axe-Fx II implicit feedback end point and the data sync endpoint > are in different interface descriptors. Add quirk to ensure a sync > endpoint is properly configured. > > Signed-off-by: Alberto Aguirre Applied, thanks. Takashi > --- > sound/usb/pcm.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c > index 44d178e..0fe2d56 100644 > --- a/sound/usb/pcm.c > +++ b/sound/usb/pcm.c > @@ -348,6 +348,16 @@ static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs, > > alts = &iface->altsetting[1]; > goto add_sync_ep; > + case USB_ID(0x2466, 0x8003): > + ep = 0x86; > + iface = usb_ifnum_to_if(dev, 2); > + > + if (!iface || iface->num_altsetting == 0) > + return -EINVAL; > + > + alts = &iface->altsetting[1]; > + goto add_sync_ep; > + > } > if (attr == USB_ENDPOINT_SYNC_ASYNC && > altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && > -- > 2.9.3 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >