From nobody Tue May 14 13:42:35 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 4VdyGM4d65z5K7dk; Tue, 14 May 2024 13:42:35 +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 4VdyGM44VKz4Qpg; Tue, 14 May 2024 13:42:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715694155; 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=0ZIdb8PJHk50hl6gXFPl75KgOINBF+wgzUdz67LBB1k=; b=d5SBuV5oIfuyeZZ70aTWVnc0932Swq/nqLwZw8tTJxIY1tW2YyIvg4oE2pPAbHDWD5ypBq QIf4GCODGoLcO93XKb4KIatD0NWWny64mVpZmyh6Xekusx217R+lOzFVnlS/zxpNGDh7go Sijfq+1HM6xyu6pqef9WqAkiZLJw8icd0NwFx1pquQoLRw4O1CGG80o2b8LqAUx/TN+Kgp Gkqb/5+ZTLM71rXOaRWrQgLSTgdNIRbIF0h3IDn6jdIH8+Rma1VNXRLPWwuZ+GTTbYyPn+ BDXxc9gpMsEIdJY//9zlSs/viszxaSLNKV7B8x7TFFFL2FsVQOkLR3l70bvKzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715694155; a=rsa-sha256; cv=none; b=NwW8HyjMKxHOpWGNEGVK5fvKEUMQjX7CfOyi0fjhFZnCL87auBmLq7TqL/ac9lWQ0iN0hW aEwxvMeK5a5O9Rc5qOtu6oJOfLQi7SoX+h4YC9bQbo7IEEJFmVEKANkcdfLbC76J1wVNQR RnYz9Wtv6kFJQj15JYzbV8zDLBW7mmI1LgYRdGsT+feNVR8/IyJRU85Ij/Duop6JzJdEKr 6HAOW99ihV04Y3SNPB7bEjbntSku5FD8q7AvBaqaUsMhyg8Ci+ydRHOTQiIOZ51m4K5net 3UIkHvgf0nio84OvsaC/w+g/eEx/0j95vcSyOvmA4/HM2Cvu/SOIAmtsUXGoSg== 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=1715694155; 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=0ZIdb8PJHk50hl6gXFPl75KgOINBF+wgzUdz67LBB1k=; b=JwEtz25WJMI7UnBHwFZ845kHGvUKJ924V8mMM6fN77vsbXgh7DAcY25xtIcV6B/EM7+Lcq iUPVnM+gseXERpMCEJYZVz3Ib/aS9JAqnlXtVvOdSMULxwf8/1wDwa+thPENwZkPZYjDrM SsUOcDyh2+c8P6/EM6PaBIeu4+kUYF3Faflt5JKyZBAPkpVTqJwsbpxAkcD8BQptXJBh22 SdCJ26PpRo3nCz1m0LW3rc1c/S48Kveeybt4feLpWJScLTg+emFeIJj2OWDkCIghj8Jl43 XWf+b0JmwKImrjTtIUaChYxxCST+EfCffoJPM8RtGf0S5FSCwOZ7Wq/sptgS/Q== 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 4VdyGM3gpVzZSg; Tue, 14 May 2024 13:42:35 +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 44EDgZXQ096265; Tue, 14 May 2024 13:42:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44EDgZAb096262; Tue, 14 May 2024 13:42:35 GMT (envelope-from git) Date: Tue, 14 May 2024 13:42:35 GMT Message-Id: <202405141342.44EDgZAb096262@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 54cc353f505d - main - 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/main X-Git-Reftype: branch X-Git-Commit: 54cc353f505dbc5f19168b6b1417b6736433d9ae Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=54cc353f505dbc5f19168b6b1417b6736433d9ae commit 54cc353f505dbc5f19168b6b1417b6736433d9ae Author: Christos Margiolis AuthorDate: 2024-05-14 13:42:04 +0000 Commit: Christos Margiolis CommitDate: 2024-05-14 13:42:04 +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 --- 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 */