From nobody Wed May 22 13:23:17 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 4VksSP1nGyz5Ljf2; Wed, 22 May 2024 13:23:17 +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 4VksSP160Xz439F; Wed, 22 May 2024 13:23:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716384197; 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=aCtrZx+h40Ka9PFpJ+gzOgIQ45YWEuf42mTogHb+wac=; b=MGMfcQdnrMIlZj2y7K/OmYkF073AiuRnZKoDkB8qIDGVWI7pqbEBLKMwNOfIPGs/CD+SBG wulitG8QLPXKXfmSwFSyEpsyGYWS692um4IYiu53nvJNgJClwKa8KYI2uC89B7vs75kgkY 8Jc9zrouGTpsLw+G7a53kZbcrUKGkOjM3gz6xOJKhLUNsMlWWzbok7CF11Ko75HoMeGwFU 3oEPa/HNBFd6wbfGLAxT14/Z9wCfXMqqc287+IXoidQNFgfnFBWnhOnXfDr77qOvziDGOF waWQ/IYEswkXMSEy3iJauylmJeEqYTAIrF7RBikeMefmz667XI5Gc6an72MStQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716384197; a=rsa-sha256; cv=none; b=nHIQ356j6RJ6ZB8ezRDHex8ioEo7E/bFEdW/PMqZFKZvMimODvNTOstkRtxjy3qER3hynE ABtH73gA4ccIBLSjEEICFv3ArabQQ+aPBUiTD2f/JslscQ+QCbGycAfcxGQqIbdXaXCNso 2gV7tgG4oxFbBAcTefZauEOczL+mzvevP/9X4el9EfcCxoKfhznNGjhlneHBwthtom07L9 9vP2GBjm4gPj8+ckiOu4MmEqnjJsuGaAC0fy2YdmQdxiC2S3eczbg2ri24G0R2/XM7YLaG 2V4pRYlgxjyhjWSfiHkVzuG1dsYi6YgYxhH6t221E2aq/c9TgWTDOON8INO9qQ== 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=1716384197; 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=aCtrZx+h40Ka9PFpJ+gzOgIQ45YWEuf42mTogHb+wac=; b=nH4DQSo1XRqEWjRQicgWrP4F1c3eeCA16k0Pqqz7bUg1vc9R/QTf6xZdXZ6+vI+gE51Qh9 Wcak1eZ7XzBcgWhrzuFuhFnkFhO2D1S1utCdTxDrCFFj8VabN7/IoXIblE/Lcvm4YFI80p 1UYpp7f6Tju3kXz7lUDn0TY6b7batFHeRfEQVO7w27SizGrpmPHhtXjjKYvUFD7XlG0tDv MYhHI88LXdvQhTRVn5CIYXDp5Iwg7SXagiuQVrRzXA8LfI3cdJF2U0Pb8JSqqr1DkH6RXs 6D5j4h+EtjkzNMI6QnXG5LiYOBbw7i9JUj+uaPZu1y0tq/zwmfmGUJOfLN/sOw== 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 4VksSP0jB7z16rr; Wed, 22 May 2024 13:23:17 +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 44MDNHKJ098649; Wed, 22 May 2024 13:23:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MDNHsO098646; Wed, 22 May 2024 13:23:17 GMT (envelope-from git) Date: Wed, 22 May 2024 13:23:17 GMT Message-Id: <202405221323.44MDNHsO098646@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: cb23e0eebfe2 - releng/14.1 - 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/releng/14.1 X-Git-Reftype: branch X-Git-Commit: cb23e0eebfe21d64c2a478bdd4ebfa56d31a37e4 Auto-Submitted: auto-generated The branch releng/14.1 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=cb23e0eebfe21d64c2a478bdd4ebfa56d31a37e4 commit cb23e0eebfe21d64c2a478bdd4ebfa56d31a37e4 Author: Christos Margiolis AuthorDate: 2024-05-14 13:42:04 +0000 Commit: Christos Margiolis CommitDate: 2024-05-22 13:21:56 +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) (cherry picked from commit 9a620018afb2da062fce11e866a2154765886983) Approved by: re (cperciva) --- 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 */