From nobody Wed May 22 13:23: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 4VksSQ3q29z5Ljd6; Wed, 22 May 2024 13:23: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 4VksSQ2H2Zz43Sc; Wed, 22 May 2024 13:23:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716384198; 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=bMchj6Xbb86ejyIvLnzR/UJui386zC13U7OxxgBiXSo=; b=swNKHGe6SGDkwPICVx9wCHSiOV4kBBj7YcO9adWiNFX612nAmBF+IVP8/45lCRxWxTn1J8 QKXWm+0ib1VPSJ9kWK1qNIQbpxxCexDcu85LoAn7AReXgYd0rZXm1bYqSdv2cQOZX4QcV6 N83bimTWx/hF7Dysq8RvKF4TWEPKIXARmA5WPac71XKi8xq6NALmAAMe6+Qqh5i44xU13N TtdYnxKDmZRkz/fNUMRMzXWV+i3AAFS9CWaNTqnHJTEJlb24TcHmr8oNEe2Mu7gVO7jwdC gMA4UXPgLOoP2mPWFIzTNR9S/3qZHN+M8yt5+4ntXHvPQS9XnZ6Y3cxGJgevTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716384198; a=rsa-sha256; cv=none; b=M7PPE1gbbk3xtePtFQlyv3kYt6IwNmKWGTn1QEWWlpfNPDVasI2bvVFgZcvVOz8YVWlXY1 nEMldl5O4IiPDouX66mOoExjtTfvz21l5ryGCKrzyp/wS5uwBqx8+5onPx9UeHW13vsnb2 uv2XpgPnrdgI2Mk0XPZounnncYhhI/j7KwN/REugpEL2esLVGvePHn554xg1YU4mSyhTs+ u/vTJAMYbQmBLFYzavs4wg5QHKeQh1lS/LECt1xsZ7TohQ5thYkvPbch0k/WYqDbnBQlOx ur8QChk5sXTiT4uznrpVafdQUg8C2FKHyJIT32/sv7c3HVFiIZk3VZ43swu/YQ== 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=1716384198; 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=bMchj6Xbb86ejyIvLnzR/UJui386zC13U7OxxgBiXSo=; b=lbrRqUbdZoFNSlDHGXkAt3A0kKzBNzjF6ZjEAC8V/z7jPYF2gyhnh08uBA/lih3WJCpyZF xJf4Dhnn4fm0dsQ2Zoe6VCkALVWqJG6YPKXMgV0DTVPwN8XkYKm3tM8TFjCMwOqpvWy80U xJSVtyFOXi+hRyy/bxq0QlSkt8B5sMG8jcdWAYDIlbfJDHltBZ1oWJPJsnrSUZvAsV5bAM PwVSZsOtHvHP7uzFjrU3eeiUtAG47ymNREI013n4PWUMQU3+IwLxWM5YejdlbfUQipmONH zITXhFS4iDqIgb0y0CJ2V+AFXKK6UPPCRhX2fQ3cX8B7vzJsofjoIZEAhzh4LA== 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 4VksSQ1sSrz15mH; Wed, 22 May 2024 13:23: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 44MDNIYA098695; Wed, 22 May 2024 13:23:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MDNIYB098692; Wed, 22 May 2024 13:23:18 GMT (envelope-from git) Date: Wed, 22 May 2024 13:23:18 GMT Message-Id: <202405221323.44MDNIYB098692@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: 5a9a2f5eed47 - releng/14.1 - 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/releng/14.1 X-Git-Reftype: branch X-Git-Commit: 5a9a2f5eed47f76e953b546a38d5f368eaee4828 Auto-Submitted: auto-generated The branch releng/14.1 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=5a9a2f5eed47f76e953b546a38d5f368eaee4828 commit 5a9a2f5eed47f76e953b546a38d5f368eaee4828 Author: Christos Margiolis AuthorDate: 2024-05-14 13:42:15 +0000 Commit: Christos Margiolis CommitDate: 2024-05-22 13:22:10 +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) (cherry picked from commit 7814ed2bd321dff2bbec8408c5b64cb7f4f2dfc5) Approved by: re (cperciva) --- 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 */