Received: by 2002:a05:622a:4ca:b0:41c:c224:f26f with SMTP id q10csp531305qtx; Thu, 16 Nov 2023 10:36:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZHeMeuudR4y0u55XNGf5ilUdZlfcluF55mdkC4lw8oKLYjDeo1xQv8IZ5lSTku8FXubM7 X-Received: by 2002:a05:6a00:1d92:b0:6c3:60c2:8415 with SMTP id z18-20020a056a001d9200b006c360c28415mr15745366pfw.30.1700159802693; Thu, 16 Nov 2023 10:36:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700159802; cv=none; d=google.com; s=arc-20160816; b=KVFsPqxLziPWNfXSTH3VCEXCbSGZPOsbTrPi74YEiNatjbJkNRgpUAaEG347A/kaMs jXDL+HHumDpWSC/x29893QC03Q99C9BLdSWvkkGMl4lzWVFRZaplECNK3Pk+5Wxekp+e MBV1jsf4SjIdayIWYSQMMo1AngweyFlVONz19YKpuwTlsr3nn8cQ0OXLN3YHKdEB9RIV 2/xemJmJQb6ASrm47ZzYaUx2uaFw157iDg26TmidzxntRTtmfZBMI25zSkQmnyFDSP8H 094o8L/nMuK1Dn80r2DliJAmtFVhXwQPLiAXv/6zUvBShwyN4Hv41D7k0WdF+43veuv7 QAYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:autocrypt:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=yIlFonLjzCyWNPF0XSY5in6JQp88jtw/YSTV9e8ZqPA=; fh=BpQX5YQQ/ojTOdxe6XuzFvA/z+/43Gt1WyqgzM8/NVk=; b=vyj14kNATpx4p9cM4ktgrabUrcnCjSgZ4OSMyiomsyAuZwJV4s/Af9dA2zFvYPHXKA ev7ao6UidaPXKeRqEJIzlgYgEVYGDT8VlkvEpu7XmJRzkGtwXEOSoLoVOVgf+SeyjUA3 zZde9ZmiBLBHhC0MKRLM6a8T878KpPXyebIdbk6K2D3DFbTem7qWWQh4ebBAjZHGSj4W Ujoq7Kq9UJLOuiKii1HtlTPQQY7U5OqlnWqQhdUVeEo4lnSVCHZsrH7rWL1T42izbK0x E/hH/BQPjDzhg6e1n1entlZlPIeVl9A+2jYUEIKwmGmO0t1lUiUcMXfklKujSEe5OIgK BTLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iGzLZmku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bn22-20020a056a02031600b005b96af23fe8si28450pgb.424.2023.11.16.10.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 10:36:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iGzLZmku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6DF068043CA9; Thu, 16 Nov 2023 10:36:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345368AbjKPSgK (ORCPT + 99 others); Thu, 16 Nov 2023 13:36:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjKPSgI (ORCPT ); Thu, 16 Nov 2023 13:36:08 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 634E21AD; Thu, 16 Nov 2023 10:36:05 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c5039d4e88so15415251fa.3; Thu, 16 Nov 2023 10:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700159763; x=1700764563; darn=vger.kernel.org; h=in-reply-to:autocrypt:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=yIlFonLjzCyWNPF0XSY5in6JQp88jtw/YSTV9e8ZqPA=; b=iGzLZmkusnPokOECcSTH2EqiUyph2KCfwEV53SZ8T9jKVRdO/cNFv9WSqZ+H09HoZf xE17NEuZ3sAx75T4njby/IkiNDVBx4FavBN54SiPnfjluqFmpI4JwAuSB6k6rJdji0Ob It0jC0cGDB2BzeD9Vycd91r2KOYbGEE7+Ursw5npFFgFvU0lEULZPKPoB8l5a2xcvX+8 vyv+Ctolp4xCjj8DekV59a5iZAbr/yaAyS6ishNDFIatJfNBZekULv8jCDBEyavKFNYq TmU9w07eihnInKgimBpmkxkEcZOcoAt3OWz8wiiM+GfbDGBk/SyaQjccuGSDYIECB4AM uTDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700159763; x=1700764563; h=in-reply-to:autocrypt:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yIlFonLjzCyWNPF0XSY5in6JQp88jtw/YSTV9e8ZqPA=; b=FBI0I8KaMSjJ2GZxat+tVyJIMHSD67zNJLGq3aG7YOg1n+SWVR8mzto38xeAwVVwkE ERxXlJHpheYXpRO6+acbY7+zw6eUuvE1g2FZZZ9ZgGSOvpxS/M7CgNv9fBpzJ5oELn8S nN50ZCi2GyBcY+psvlW+sXeg+jjo8H50sEX/afSkb2Ine9zv6QDM9Y++RWmTqlFsWIuJ VCHq9cGik/ykImMG5zKA8JaM7uCVz9TQPqDJhsQaopTsmqLPextp9siUndOvCBqUjK99 gPZAiCU1M4pMAys5pwATauw446++L502/PVIK0CNpNDUsmChJ8ORJDHUIVkH87b+RH8W aaHQ== X-Gm-Message-State: AOJu0YyQOxqXNvj8Py8Ye31p+UxGbrFy8rU1vD8yEK/DnoSzCHIIyGA3 O8avjim6wwlDuRyjosxSII8= X-Received: by 2002:a05:651c:86:b0:2c5:9a5:a1c2 with SMTP id 6-20020a05651c008600b002c509a5a1c2mr8291927ljq.30.1700159763121; Thu, 16 Nov 2023 10:36:03 -0800 (PST) Received: from ?IPV6:2003:d3:8f2b:ca00:a8b9:be5c:5958:4eb3? (p200300d38f2bca00a8b9be5c59584eb3.dip0.t-ipconnect.de. [2003:d3:8f2b:ca00:a8b9:be5c:5958:4eb3]) by smtp.gmail.com with ESMTPSA id t13-20020a05600c450d00b004094e565e71sm127178wmo.23.2023.11.16.10.36.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 10:36:02 -0800 (PST) Content-Type: multipart/mixed; boundary="------------8RvdfuZ5GyNIBIsC5wTYBJDm" Message-ID: <251c1bea-8250-40dd-bdea-1cd739d1e77a@gmail.com> Date: Thu, 16 Nov 2023 19:36:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: acp3x: Missing product ID for Thinkpad T14s Gen2 AMD Ryzen 7 PRO 5850U To: Bagas Sanjaya , Linux Kernel Mailing List , Linux Sound System , Linux ALSA Development Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai References: <8bd0e77f-720b-4804-bbd8-477bd7df938e@gmail.com> Content-Language: en-US From: Oliver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AIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 10:36:16 -0800 (PST) This is a multi-part message in MIME format. --------------8RvdfuZ5GyNIBIsC5wTYBJDm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, thanks for your fast answer. I added my proposed patch as attachment. Please be aware that this is my first kernel patch. Thanks a lot! On 16.11.23 12:10, Bagas Sanjaya wrote: > Hi, > > I notice a bug report on Bugzilla [1]. Quoting from it: > >> Hey,sound/soc/amd/renoir/rn-pci-acp3x.c has a hard-coded list of quirks. It seems like some product IDs may be missing. In my case, I am using a Lenovo Thinkpad t14s gen2 with an AMD Ryzen 7 PRO 5850U. >> My audio output is fine but my internal microphone cannot be found. >> >> Running `dmidecode` yields: >> >> Handle 0x000F, DMI type 1, 27 bytes >> System Information >> Manufacturer: LENOVO >> Product Name: 20XGS1KT02 >> Version: ThinkPad T14s Gen 2a >> >> Could it be that one may have to add the product ID "20XGS1KT02" to the hard-coded list of quirks in rn-pci-acp3x.c? >> >> >> It seems as there have been similar problems in the past, e.g. https://bugzilla.kernel.org/show_bug.cgi?id=216270. > See Bugzilla for the full thread. > > ollisieber, can you send the quirk patch? > > Thanks. > > [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218148 > --------------8RvdfuZ5GyNIBIsC5wTYBJDm Content-Type: text/x-patch; charset=UTF-8; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NvdW5kL3NvYy9hbWQvcmVub2lyL3JuLXBjaS1hY3AzeC5jIGIvc291 bmQvc29jL2FtZC9yZW5vaXIvcm4tcGNpLWFjcDN4LmMKaW5kZXggYjM4MTJiNzBmNWY5Li43 NTRlMjRkNTVlNmYgMTAwNjQ0Ci0tLSBhL3NvdW5kL3NvYy9hbWQvcmVub2lyL3JuLXBjaS1h Y3AzeC5jCisrKyBiL3NvdW5kL3NvYy9hbWQvcmVub2lyL3JuLXBjaS1hY3AzeC5jCkBAIC0x OTksNiArMTk5LDEzIEBAIHN0YXRpYyBjb25zdCBzdHJ1Y3QgZG1pX3N5c3RlbV9pZCBybl9h Y3BfcXVpcmtfdGFibGVbXSA9IHsKIAkJCURNSV9FWEFDVF9NQVRDSChETUlfQk9BUkRfTkFN RSwgIjIwTkxDVE8xV1ciKSwKIAkJfQogCX0sCisJeworCQkvKiBMZW5vdm8gVGhpbmtQYWQg VDE0cyBHZW4gMiAqLworCQkubWF0Y2hlcyA9IHsKKwkJCURNSV9FWEFDVF9NQVRDSChETUlf Qk9BUkRfVkVORE9SLCAiTEVOT1ZPIiksCisJCQlETUlfRVhBQ1RfTUFUQ0goRE1JX0JPQVJE X05BTUUsICIyMFhHUzFLVDAyIiksCisJCX0KKwl9LAogCXt9CiB9OwogCg== --------------8RvdfuZ5GyNIBIsC5wTYBJDm--