Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp676446pxb; Mon, 25 Oct 2021 16:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRKoUFQDDAoQkvrJRpoV5XkDf8RjHjIj1KbwtliK/yjq2BxRj9F4RKjX796NpN6qKrm/ON X-Received: by 2002:a17:906:3ac6:: with SMTP id z6mr25904656ejd.196.1635204475281; Mon, 25 Oct 2021 16:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635204475; cv=none; d=google.com; s=arc-20160816; b=aMpXkcD43a6pKzBfE89GW6XtaVyhBmVJallB+uFXEEapz3KTVJzoZxhrElIr3A2sTR BOdjw806pDIbG6X4ORSvSJ4SHOglgnjwdv4X6KzSd84zyAh7HuyUYgWYITPn83BBsKHa 9eIWLGMtpR2pEvHRXquyldIwDmJBNr4C+gkadqtH0Zv45n965C4e3PVW+5NX58w09Hfo IzIeu8qN7OLR4m5dw2LJfklMLDZmTXx8iXeV6OYwX7iird0g/uf/NWXVNwv04TCxfAJb YjUI9K7DkG2f51ZfSGCjRPSI/oVXZaCr810huzw64r0/E46mY999s9O078tmfaSXJ+2k bOcg== 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=EvfoCqDjLKDirMjZy2j1rdmmbS4M3Zkx9O/UkSYyiLM=; b=SKI19SM5SYM+2dTcmH/c2XoUEdBO/bCcPwcjp0hBhcxnZERzVn3kOI2Evx4D0lIpI0 QEsulcITZXFEnySCMIIcmY1DrHfAFyBDV9nYNBbcFDe9zRmOyd92QLfcS34y8Zxi51qc xRLNmI0eqvkwUCR67Nup/REL5TLHssLt1gKUQF/x3bWPCVYwyB1z7wOUGNF/n5J3LQla JvnEZiTxnKzzPpsHEkldHrv0oXJNp6xmOWR9a32agXZLL63Wwxny8EfgfnMvjgX1ZOSt n9WL6K3txSO4tML1XVfjqyMOajJq43FaM32dxdEz0ffqPOkX3F7cWbFP1NCICyNy/SpG ctBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kMgV9R3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc15si2070776ejc.443.2021.10.25.16.27.31; Mon, 25 Oct 2021 16:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kMgV9R3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235198AbhJYT1C (ORCPT + 99 others); Mon, 25 Oct 2021 15:27:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:42394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235203AbhJYTZM (ORCPT ); Mon, 25 Oct 2021 15:25:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 25DBA61076; Mon, 25 Oct 2021 19:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189743; bh=6KaK6RnVPDbO2lV/+9Ca3txKPwMLULQk7yN2RcOQQK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kMgV9R3A7R925GExFHjOg1HPg9baQVHUkG/6oQdi2E0W2+WhrEQk6xnRAxlPTX7pK NdlARzKSSSAQSfv5m+JUy14Pa8QFMD7dc0YmHAhVDWbrNGmnEFslZIwvQgaMh88Zwl /gmkucoBQHh1RiKbkV3CFymzDwp2m9qOnntT2ToM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Brendan Grieve , Takashi Iwai Subject: [PATCH 4.14 15/30] ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset Date: Mon, 25 Oct 2021 21:14:35 +0200 Message-Id: <20211025190926.702216628@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190922.089277904@linuxfoundation.org> References: <20211025190922.089277904@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brendan Grieve commit 3c414eb65c294719a91a746260085363413f91c1 upstream. As per discussion at: https://github.com/szszoke/sennheiser-gsp670-pulseaudio-profile/issues/13 The GSP670 has 2 playback and 1 recording device that by default are detected in an incompatible order for alsa. This may have been done to make it compatible for the console by the manufacturer and only affects the latest firmware which uses its own ID. This quirk will resolve this by reordering the channels. Signed-off-by: Brendan Grieve Cc: Link: https://lore.kernel.org/r/20211015025335.196592-1-brendan@grieve.com.au Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks-table.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -3446,5 +3446,37 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge } } }, +{ + /* + * Sennheiser GSP670 + * Change order of interfaces loaded + */ + USB_DEVICE(0x1395, 0x0300), + .bInterfaceClass = USB_CLASS_PER_INTERFACE, + .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = &(const struct snd_usb_audio_quirk[]) { + // Communication + { + .ifnum = 3, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + // Recording + { + .ifnum = 4, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + // Main + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, #undef USB_DEVICE_VENDOR_SPEC