From nobody Thu Mar 24 13:55:08 2022 X-Original-To: dev-commits-src-branches@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 2B2CF1A23BBE; Thu, 24 Mar 2022 13:55:09 +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 4KPRYm6N64z3mYH; Thu, 24 Mar 2022 13:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648130109; 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=bjjwYQ4QnXHMSzSmyZOUKl6MRSLdFXiduqc0Ivtqnvw=; b=fUCr62HyUr+vyEees2v/VB7a215/vuT+P4zIoJHFNbPtBVjA3rYSF0IBtWHaTzuXJtiF7C my6G0GOkPEcRuNeDX3sHTK51/B9puurIJ4CMffq5fgVRuN3ab3MN3Xgc1uUCmo4rZVnFo0 ZUHno+QN3v+H44OjAloXM032t0wX38gQBY9TlJSCaxrM8DJekFpxCQ7dz+RDwrRgfdG2MC Tx7v8ZOHHGOjzXYkDBzOpdz4ne7WnsYZncTQ55yvsz+EjOaFY5BlEwM11IeLSZxvnOw4kD VXhRo6MDUutnJguqHp5U7/4fX9YXkj+sjde2eCgwYJqUdtxWxGW84/NTv+T/NQ== 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 7CA1419387; Thu, 24 Mar 2022 13:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22ODt8oM086438; Thu, 24 Mar 2022 13:55:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22ODt86G086437; Thu, 24 Mar 2022 13:55:08 GMT (envelope-from git) Date: Thu, 24 Mar 2022 13:55:08 GMT Message-Id: <202203241355.22ODt86G086437@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 5694c481e167 - stable/13 - snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5694c481e167bb997872c343392bdee295f11ffc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648130109; 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=bjjwYQ4QnXHMSzSmyZOUKl6MRSLdFXiduqc0Ivtqnvw=; b=lljrOHNaIQQVhQuRdBmrqn1NScOy5Mjb/1YcX4D3Z7qOOj0Z6J/RYtDxlm8gfdijbVSnHX 3xgfoVFMP12BVV/JzSA/tpWYvBuer3lrk4RIl8pcFO/mcwASY7a2CpFtwT2jujZ++/bzrg wWxaWR3jFaCa9HB5KuYFAkdPqnnn+H2bBnIG9s5kclBf6al4NDs76714vby5Z08b5jvonf 72meZQLCrVuU7WHp98via/vuZBjX6zR9VkGZ7DmVy6UsWX5LRn5xIo2tNVR6dYPoadimBB FaCDzXVeid2X/HE64PDFcFC7CUZ4Sjg2pUVd2uqi6Anixf9xzd4sPA+uXzvzzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648130109; a=rsa-sha256; cv=none; b=fvrjnjisc/9+4B8QUpUR6a51HKlWCzDgTI3PB9KwFDmH/J/IuP1GTwHuCmG6R6fdgiNJ5T XRw+K8Nknat5f6MqTMgkgwdRhNKKxDl+BInqZDSMoC+S1am6Jh4EVTxm7fqJu071zqo7kx FzeXDHY8oZAPKnV+vOFsZqq77uzbvGZIU2QHH0aWvZjaoS3u8coG/rGRrGIejAfIw7xgns mHcwrv16YS4EWTx5yqNGCeqSZHu0cbUAoD5F/X7C+LWjifYUYfBEJFmspqeEoQHFVijDS0 A0DodGuGynbHbEduzLeFPUGIJly8OFiEGuh7EX7Cg6dZHz5YMDXIMTAHJDXJ4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5694c481e167bb997872c343392bdee295f11ffc commit 5694c481e167bb997872c343392bdee295f11ffc Author: Ed Maste AuthorDate: 2022-01-14 19:40:47 +0000 Commit: Ed Maste CommitDate: 2022-03-24 13:52:37 +0000 snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen Fixes: ef790cc7407e ("hdaa: update pin patch configurations") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33900 (cherry picked from commit 301b2b02dfcfddbb5da34dcc20136de1ab2f36af) --- sys/dev/sound/pci/hda/pin_patch_realtek.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/dev/sound/pci/hda/pin_patch_realtek.h b/sys/dev/sound/pci/hda/pin_patch_realtek.h index f8f27aedca14..326b353531c4 100644 --- a/sys/dev/sound/pci/hda/pin_patch_realtek.h +++ b/sys/dev/sound/pci/hda/pin_patch_realtek.h @@ -554,6 +554,21 @@ static struct hdaa_model_pin_patch_t realtek_model_pin_patches[] = { } }, { } } + }, { /**** CODEC: HDA_CODEC_ALC285 ****/ + .id = HDA_CODEC_ALC285, + .patches = (struct model_pin_patch_t[]){ + { + .models = (struct pin_machine_model_t[]){ + PIN_SUBVENDOR(LENOVO_X120KH_SUBVENDOR), + PIN_SUBVENDOR(LENOVO_X120QD_SUBVENDOR), + { } + }, + .pin_patches = (struct pin_patch_t[]){ + PIN_PATCH_STRING(33, "seq=15 as=1 color=Black ctype=1/8 device=Headphones loc=Left"), + { } + } + }, { } + } }, { /**** CODEC: HDA_CODEC_ALC286 ****/ .id = HDA_CODEC_ALC286, .patches = (struct model_pin_patch_t[]){