From patchwork Wed Nov 4 12:07:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Geoffrey D. Bennett" X-Patchwork-Id: 11880475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB103C388F7 for ; Wed, 4 Nov 2020 12:08:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E4AA21734 for ; Wed, 4 Nov 2020 12:08:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="iv7wPEwO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E4AA21734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=b4.vu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8AC9C168B; Wed, 4 Nov 2020 13:07:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8AC9C168B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1604491689; bh=TW8Ff73+IeWGQpjQP/Shz6QsP2kiV7+WpI35Lmkyay8=; h=Date:From:To:Subject:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=iv7wPEwOIVVA3zQKngMUIkXyi4qHuJ78jTMqFd3CtmNDwI/GWk+KqtuanVQpNH3db h5Qu+1QALUe2GEM3KUlKcU1rQlPQqTQo9NsEQUZsMubzksH0LhaTomK2s0x5gF1RS4 YECh7wc7jP5zhqn0MSaU6M8rYHoKWsgeTIYDCD3c= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1DD2DF80229; Wed, 4 Nov 2020 13:07:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 33274F800EC; Wed, 4 Nov 2020 13:07:18 +0100 (CET) Received: from b4.vu (b4.vu [203.16.231.147]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5A3CFF800EC for ; Wed, 4 Nov 2020 13:07:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5A3CFF800EC Received: from b4.vu (localhost.localdomain [127.0.0.1]) by b4.vu (8.13.8/8.13.8) with ESMTP id 0A4C76or019143; Wed, 4 Nov 2020 22:37:06 +1030 Received: (from g@localhost) by b4.vu (8.13.8/8.13.8/Submit) id 0A4C75YI019142; Wed, 4 Nov 2020 22:37:05 +1030 Date: Wed, 4 Nov 2020 22:37:05 +1030 From: "Geoffrey D. Bennett" To: alsa-devel@alsa-project.org Subject: [PATCH] ALSA: usb-audio: Add implicit feedback quirk for MODX Message-ID: <20201104120705.GA19126@b4.vu> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Frank Slotta X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This patch fixes audio distortion on playback for the Yamaha MODX. Signed-off-by: Geoffrey D. Bennett Tested-by: Frank Slotta --- pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c index b401ee894e1b..22fbd1f48b3e 100644 --- a/sound/usb/pcm.c +++ b/sound/usb/pcm.c @@ -345,6 +345,7 @@ static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs, ifnum = 2; goto add_sync_ep_from_ifnum; case USB_ID(0x2466, 0x8003): /* Fractal Audio Axe-Fx II */ + case USB_ID(0x0499, 0x172a): /* Yamaha MODX */ ep = 0x86; ifnum = 2; goto add_sync_ep_from_ifnum;