Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp86547iof; Sun, 5 Jun 2022 21:57:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxH8Q5JnGa09TzsCNvlEh0szYBTnlbRuTDU3sLjr6cYpQ2ubnXG+VqVt6r6ufwbT+OhfhlS X-Received: by 2002:a17:903:1205:b0:15e:804c:fab4 with SMTP id l5-20020a170903120500b0015e804cfab4mr22490325plh.112.1654491431546; Sun, 05 Jun 2022 21:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654491431; cv=none; d=google.com; s=arc-20160816; b=lY+g2hq/EWOZrOa6BXkts5/RgOErO0pOPlUPhsrMdQMs00UWHmxV9vOiWcG2oZEnCx fuFK2DWwHuJPw4A9OEbZYjBnQ1zxnD5RRz3p6b6FQgqsLDP0DbDEc1imGCFsN6vYLtNm ulPT7v0PI/kxc2pun9NGU4ovEmRAHMixOKVpatbuspGNzZzYMp11SmVgIfSMfdz1pUyq HR5u0ii7APDUxMqedtvNjEoqYLPRQhX/0HavngIgfJ0LFzEgeIfHqExni4pVcUPrZc3A Quiuk11pwcrMuixxj+5jYE2irh9qB9genR+o1UUDtbxUy+Xr7JV7M/jIMWcLunu8Yp6n XqKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4fgyObJvObSZw/3fZ5sscdy0RVoApLUCr/pnuL3WZ0o=; b=jsO2WEG/wb7UUVPyUp0lC67yfGqlIn/foyibArUAVQWLbphn8OU301ifNb18E/f32n jmwoWZqpTgmdA9FoL0RB9ZyPXSAP2ggF8S/WAQLMdpswdG0e2qwAlpLoQK2B4AXCCYNe tYP+EFkU2aWRDAscYMbIpACIHtUvc753N/j2uUzAPXPihBH1t9nPeg7G31CD5TqWEryY tKY+C2oIHolWtXSvbCNIV0iSM8ZZNC/xpDSA1fMDc4QIxGa/yMQqrQYxRioEIjfrM6hk LW/lAEgqkwvXVI8Xj78FfpoqcXls/t/8YDPyA4NESxpvr4aCU3tzA42nGpnTyXwcvyHl nj3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=olCYCKnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q7-20020a17090ab98700b001e32a639040si21591440pjr.67.2022.06.05.21.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:57:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=olCYCKnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0E1FDC82F; Sun, 5 Jun 2022 21:09:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346551AbiFCSEY (ORCPT + 99 others); Fri, 3 Jun 2022 14:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347267AbiFCRwK (ORCPT ); Fri, 3 Jun 2022 13:52:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC92812AAC; Fri, 3 Jun 2022 10:51:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 73F7EB82189; Fri, 3 Jun 2022 17:51:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A565EC385B8; Fri, 3 Jun 2022 17:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654278710; bh=k8dwY4UsBqEZIeUNq0npNOB1aRN/HTu4O5GznizTuIE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=olCYCKnAmKbKRQrp4JbJ/RcMfMHq2bfsV52Szyv2OPGkf/VA3yXZKbfF3nWAIvhCE zsHJc5PLrkCD5MydxrvnGnnGwZOePnolN53Lkj5fVg297W821LCry8rM3QMy5sN6iy aBz4lwdf4GfXr/ibLA8PevDSCBxlePtM0m++yGRo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Andr=C3=A9=20Kapelrud?= , Takashi Iwai Subject: [PATCH 5.15 38/66] ALSA: usb-audio: Add missing ep_idx in fixed EP quirks Date: Fri, 3 Jun 2022 19:43:18 +0200 Message-Id: <20220603173821.775056441@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220603173820.663747061@linuxfoundation.org> References: <20220603173820.663747061@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Iwai commit 7b0efea4baf02f5e2f89e5f9b75ef891571b45f1 upstream. 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. Fixes: bf6313a0ff76 ("ALSA: usb-audio: Refactor endpoint management") Reported-by: André Kapelrud Cc: Link: https://lore.kernel.org/r/20220521065325.426-1-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks-table.h | 3 +++ 1 file changed, 3 insertions(+) --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -2672,6 +2672,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), .altset_idx = 1, .attributes = 0, .endpoint = 0x82, + .ep_idx = 1, .ep_attr = USB_ENDPOINT_XFER_ISOC, .datainterval = 1, .maxpacksize = 0x0126, @@ -2875,6 +2876,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), .altset_idx = 1, .attributes = 0x4, .endpoint = 0x81, + .ep_idx = 1, .ep_attr = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC, .maxpacksize = 0x130, @@ -3391,6 +3393,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), .altset_idx = 1, .attributes = 0, .endpoint = 0x03, + .ep_idx = 1, .rates = SNDRV_PCM_RATE_96000, .ep_attr = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,