From nobody Fri May 17 19:31:18 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VgxsL5N89z5Lg4L; Fri, 17 May 2024 19:31:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VgxsL3z2pz3wfT; Fri, 17 May 2024 19:31:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GhspkcxETU1gJBQaeDOo1xvIJ1Q1jsF/r5yyo+a16Os=; b=TSqz77NuB8u2yOkh5Hk072R8p5ME8RMjNlcJk36xkQnQe/r1xRs9ZhgqLH3LHrI97rIIC4 p5L0F2RBxIgD8WjnB/5QS9GgXrftYm+ryUHy+SOWhPmMzWbXmkodjDXLd6aA8tzeljYu5U eN7NX20kewSkA62EhWaAZvCHpIbG0nRv6bA6TTTR3kv4lMUlV15hVO258mTD5Vg2OMgEHv R74DT1Uvxg9vq1LBuWDjNDYcC9GRQW4JvUd4Mf/Wt6zNxoLiqrmOn79P6OWOE5OqGSbDLD OdO3u2g4bzdKg7FD/dnxdkwOO4qAtJiIrVcOfvkBLcuGj4rKS2pgH5OV4qKOuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715974278; a=rsa-sha256; cv=none; b=F9Sr8BV8Dq8kqjHWNzTNGVK6wiyIFlijkFudZpSSGb4QQpQvwW1+VcqbMK60V69hjldkXk arIBTKk2quHDfDAxUZ7RGZMPjNEWsE4tShyUQ8QR5zsDXlutwmkJmKYScAd6UvnPyzkXUg uf3fPQYRvto/bsP14PkEHFfEFURn3d2FHndlsUJUo9960BDxzSF9JKMGz7ahScqAppihK7 US2aDLZSyb8JJEx+yhTPyAzahHwA2T1sAD5ya/2MAarjiGa7W6ROuOYBDbWQMtfo8XWyUA TxuV/Y45nWlwt5GKIq62MDdMMPsF5dOK4sFv2092G2+kSrmU43TT518BtoSQOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GhspkcxETU1gJBQaeDOo1xvIJ1Q1jsF/r5yyo+a16Os=; b=aom+0FnPCQpnysgVsodjO606YipX2YbXzusAOaw73HQxZjP6uN0lmboFNGCgc9fkZB7DvM Y+FihUDwF9YnLF7V+f5SyTNbHGAHrxdzQ/CJUJYCIRmFsFMl+YbFJicOCo++gNRGYBuAaL abZf+I8EbLl4IuY9R72u5VvIfgPx2PboK4iIACBCRweqRIyGfhpX7BTDTfQKzbxGVj87zS bsE0qERCnRItTNvcugT0KZQ5nvGmVn254cToY+59PTRWx5DU6IAtZ0l6OfR4qqBYpX4GIg OGULYG/UOCutJtjsheZOfDqO8BRbEndUiN/DJeNRBcMfAT1amSexWU8VebZHDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VgxsL3YW0zvvt; Fri, 17 May 2024 19:31:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44HJVI6U000356; Fri, 17 May 2024 19:31:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HJVIZ7000353; Fri, 17 May 2024 19:31:18 GMT (envelope-from git) Date: Fri, 17 May 2024 19:31:18 GMT Message-Id: <202405171931.44HJVIZ7000353@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 9a620018afb2 - stable/14 - snd_hda: Add patch for Lenovo Ideapad 3 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9a620018afb2da062fce11e866a2154765886983 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=9a620018afb2da062fce11e866a2154765886983 commit 9a620018afb2da062fce11e866a2154765886983 Author: Christos Margiolis AuthorDate: 2024-05-14 13:42:04 +0000 Commit: Christos Margiolis CommitDate: 2024-05-17 19:30:36 +0000 snd_hda: Add patch for Lenovo Ideapad 3 Reported by: bsd-lists@bsdforge.com Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45100 (cherry picked from commit 54cc353f505dbc5f19168b6b1417b6736433d9ae) --- sys/dev/sound/pci/hda/hdaa_patches.c | 3 ++- sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 3a7dfc63637a..76f677d69614 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -318,7 +318,8 @@ hdac_pin_patch(struct hdaa_widget *w) } } else if (id == HDA_CODEC_ALC257 && (subid == LENOVO_L5AMD_SUBVENDOR || - subid == LENOVO_L5INTEL_SUBVENDOR)) { + subid == LENOVO_L5INTEL_SUBVENDOR || + subid == LENOVO_I3_SUBVENDOR)) { switch (nid) { case 20: patch_str = "as=1 seq=0"; diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 4dd589ed2a09..12552286bd8c 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -383,6 +383,7 @@ #define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f) #define LENOVO_3000_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x384e) #define LENOVO_I330_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3808) +#define LENOVO_I3_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3881) #define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff) /* Samsung */