From nobody Fri May 17 19:31:19 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 4VgxsN0Dqjz5Lg4P; Fri, 17 May 2024 19:31:20 +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 4VgxsM53tgz3wlJ; Fri, 17 May 2024 19:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974279; 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=JqRgEauBd7pA/pe3m5KnHESVIyKY1KG85HQRzPPaEIE=; b=adO7aQhN9KT29NP109z+Tp8LEBIoewDwbrFiMn5R+PDB9Q6QNEbyExWX5wqaGa+H0XxTRq qKEYwLBJhicVW3ggCd167AYtt0iRZS0ZuKg68f+2GD77N8F3rHZj26gdFA/o05HU6Ml3uo umwUX7OeskSIfDc8aOguM3pRWdKostTi4Nh9jtfIQfa27pTXjJXnHY/42W0n8YE4NExR+c AB+DEgGElM3kdPrW++40Fbg2pqfDR2nig/QTLywFRQ2KiXyYUM6hyRbDBS3TchPTtaT1Qy Z2sGV8HLta3dzWKQ6g10uUyvxvz+1l9J33B5EFCFtC+u/9tW0RtOpnMcjztc/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715974279; a=rsa-sha256; cv=none; b=mdIH808ib6lredt4LKD4TgQ2BZnbgzKNZneHCJ9BxyT5IwuNP19xI0L6gSqJyYKA9kMk2v 2wFjVL/lVDhlSqPxBDw0PZZG0hCs4tAzS7Ajxjyza4oHdTm0vjsWP9B3tL7M50gnxbd0j8 5MMa79vNihB6fQpsDC0nrTW8yPWld+KXMFmM5ocYBnunuhSuwtH4EhPtRPh45NyUakFxll UGHKFMN/qIOUztxRRNfrSDUZinHqHKM0HrkpIXRyNYiniMQHAf/Ab+ql7og34kqF6dnZlQ C7nq0SHRySDOlnPELDkyv+iw3aByUlGFfvEIfuqZvORl3UPZWO44oQ7cTxaSWg== 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=1715974279; 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=JqRgEauBd7pA/pe3m5KnHESVIyKY1KG85HQRzPPaEIE=; b=VHpJaqxpqSIzQhit+6tjl+/ucuZSdUl5GNQat8GyGScKFKXtvI9av6bZwEaTl+pElXN3kN g2dqQSprvneZuYhX7VtiAQKtoaK2oTYc3tjls7ApRupp2QwhWTdiOFgXJByQW/KjXK/tuz 1mg+zmZwmjtuJnbbX50XLJv0NvS80VLqUUeqA5mPelspNkgIo0J98R+1XvlDKEt+ffl2oo 5fzwFRnKYUbfqb4LHtBpqjNn7uCdUVYfTNoitnXRDZ52oBDCy/tf1MEjjwj9S8e+rOhdl4 gzfHCFSdWs2P4R4qY59d+/lHEGYQItTZGKZF2cLBfGXaOecf/r7tRWM8qc6Uwg== 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 4VgxsM4dDlzvr9; Fri, 17 May 2024 19:31:19 +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 44HJVJcM000398; Fri, 17 May 2024 19:31:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HJVJmO000395; Fri, 17 May 2024 19:31:19 GMT (envelope-from git) Date: Fri, 17 May 2024 19:31:19 GMT Message-Id: <202405171931.44HJVJmO000395@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: 7814ed2bd321 - stable/14 - snd_hda: Rename LENOVO_I* to LENOVO_IDEAPAD* 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: 7814ed2bd321dff2bbec8408c5b64cb7f4f2dfc5 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=7814ed2bd321dff2bbec8408c5b64cb7f4f2dfc5 commit 7814ed2bd321dff2bbec8408c5b64cb7f4f2dfc5 Author: Christos Margiolis AuthorDate: 2024-05-14 13:42:15 +0000 Commit: Christos Margiolis CommitDate: 2024-05-17 19:30:36 +0000 snd_hda: Rename LENOVO_I* to LENOVO_IDEAPAD* Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45105 (cherry picked from commit 278953360e0e6187c3f7c688cb49254df1567f0b) --- sys/dev/sound/pci/hda/hdaa_patches.c | 4 ++-- sys/dev/sound/pci/hda/hdac.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 76f677d69614..9f3532562252 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -319,7 +319,7 @@ hdac_pin_patch(struct hdaa_widget *w) } else if (id == HDA_CODEC_ALC257 && (subid == LENOVO_L5AMD_SUBVENDOR || subid == LENOVO_L5INTEL_SUBVENDOR || - subid == LENOVO_I3_SUBVENDOR)) { + subid == LENOVO_IDEAPAD3_SUBVENDOR)) { switch (nid) { case 20: patch_str = "as=1 seq=0"; @@ -340,7 +340,7 @@ hdac_pin_patch(struct hdaa_widget *w) break; } } else if (id == HDA_CODEC_ALC230 && - subid == LENOVO_I330_SUBVENDOR) { + subid == LENOVO_IDEAPAD330_SUBVENDOR) { switch (nid) { case 20: patch_str = "as=1 seq=0 device=Speaker"; diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 12552286bd8c..6a3314280a22 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -382,8 +382,8 @@ #define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x381b) #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_IDEAPAD330_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3808) +#define LENOVO_IDEAPAD3_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3881) #define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff) /* Samsung */