Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp694034ybg; Mon, 1 Jun 2020 11:52:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLbh2nCrI92yyM9e7pyckSRcWR1EUtFNK6QvOS8Ia3scbiM0QLSs+GGq52WwWXwGpJT1Iv X-Received: by 2002:a17:906:4cd9:: with SMTP id q25mr21436442ejt.175.1591037559050; Mon, 01 Jun 2020 11:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591037559; cv=none; d=google.com; s=arc-20160816; b=jrUnMt7GBXzaEEMt8EV12WQaN0aFJHxZ4/tIiw4MMrABMVv3XfIQ/ZwzUVc5m+bLxY 7cfdin7FQY41/nQRK8dVBW3jreuIiJYw1woBZ29G3kgSZOwdKdEu2gzTkV3tG4AwxpfF h0Nv7KDUG1x3G3OzdvLyUnzFatwxx3YowTk0aG860NNDlnANkkIpXBBe92LstYh31au8 +stCxngOzRSi19K6/TTIiTC+NUezty0lM42JFX7khZ4Um3yqMoeDGMGMCxuMs1KF5X7M t72B6H119inpK3Ru2PC1PKDYLnX9KrFEx80CkSAkPA6tBrXKEm7tk/tDS6/Gi/TBew9+ 3K5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GGL5wk0JwsNUyaTrYKJy+LTNPaUGM/rP432QtdxmHvA=; b=wB40KyONGKYdmBuv+hFRy4nB9YBKjoAlvJb0jiXHEIWspxatwd4yGOtuyuxjhpIXmf hFv6j3PNgJtl3AhnCQF1YHBaDwX6rnkTYRlKr8Er1FmPAVuCdjPPGjPE+5+SLp9SCjr6 uyCJLUMME9i0UbrYqxT8lEZJIcCCCpmIwbWngmblwTS20dWWArR5Fi6PmVd37RHIkg05 T/Up/NASj9FS8HmfNnqp648qASAf2KYwnkfmmr99tncR903fmCq8AxQIl4hs+aihCRIN AUhDK89B/XAPQjnM/xDojZam+XfvrPsii5/mUZqSJSBSjM9JJ7p/NHlPITjym6kFS7jO lsmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EV4qL9uV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si121507edq.256.2020.06.01.11.52.15; Mon, 01 Jun 2020 11:52:39 -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=@kernel.org header.s=default header.b=EV4qL9uV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728444AbgFASse (ORCPT + 99 others); Mon, 1 Jun 2020 14:48:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:53344 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729014AbgFASH2 (ORCPT ); Mon, 1 Jun 2020 14:07:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 03B67206E2; Mon, 1 Jun 2020 18:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591034847; bh=jFxbb1Qy0B8oBFayjiw1lbTMGXYARxdCVgI0rLUhIzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EV4qL9uVc1+QFZ4ejGXlHMsDfaq3nyHcPhv2tHdpt8ecb7gOxtwCgheZVi6mjF/OJ mRcEuvxplReSFwMOgfyPfOHrJhszBr0/ZGUjDSSC+1QZV3moiomMUsb433XiRQvpPC RPnaX7YsZXw5OnCkHwXeJT31fVtBJVYqDXwxR3nc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andrew Oakley , Takashi Iwai , Sasha Levin Subject: [PATCH 5.4 039/142] ALSA: usb-audio: add mapping for ASRock TRX40 Creator Date: Mon, 1 Jun 2020 19:53:17 +0200 Message-Id: <20200601174042.024267189@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200601174037.904070960@linuxfoundation.org> References: <20200601174037.904070960@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrew Oakley [ Upstream commit da7a8f1a8fc3e14c6dcc52b4098bddb8f20390be ] This is another TRX40 based motherboard with ALC1220-VB USB-audio that requires a static mapping table. This motherboard also has a PCI device which advertises no codecs. The PCI ID is 1022:1487 and PCI SSID is 1022:d102. As this is using the AMD vendor ID, don't blacklist for now in case other boards have a working audio device with the same ssid. alsa-info.sh report for this board: http://alsa-project.org/db/?f=0a742f89066527497b77ce16bca486daccf8a70c Signed-off-by: Andrew Oakley Link: https://lore.kernel.org/r/20200503141639.35519-1-andrew@adoakley.name Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/mixer_maps.c | 5 +++++ sound/usb/quirks-table.h | 1 + 2 files changed, 6 insertions(+) diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index 39d6c6fa5e33..2255f9abd7a5 100644 --- a/sound/usb/mixer_maps.c +++ b/sound/usb/mixer_maps.c @@ -529,6 +529,11 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { .map = trx40_mobo_map, .connector_map = trx40_mobo_connector_map, }, + { /* Asrock TRX40 Creator */ + .id = USB_ID(0x26ce, 0x0a01), + .map = trx40_mobo_map, + .connector_map = trx40_mobo_connector_map, + }, { 0 } /* terminator */ }; diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 8c2f5c23e1b4..aa4c16ce0e57 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -3647,6 +3647,7 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"), ALC1220_VB_DESKTOP(0x0414, 0xa002), /* Gigabyte TRX40 Aorus Pro WiFi */ ALC1220_VB_DESKTOP(0x0db0, 0x0d64), /* MSI TRX40 Creator */ ALC1220_VB_DESKTOP(0x0db0, 0x543d), /* MSI TRX40 */ +ALC1220_VB_DESKTOP(0x26ce, 0x0a01), /* Asrock TRX40 Creator */ #undef ALC1220_VB_DESKTOP #undef USB_DEVICE_VENDOR_SPEC -- 2.25.1