From nobody Sat Jan 15 00:23:35 2022 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 1C070195E615; Sat, 15 Jan 2022 00:23:36 +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 4JbJml4M3Cz4WrV; Sat, 15 Jan 2022 00:23:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642206215; 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=JKMu/xVglCqIVsT3vfjixZ4EXNyGSBifFFM0lciiZ9g=; b=mGUjEcnp1yX8J4gbuZD4+UFPDSp1QC1b/0GXPP8XCDXXB7UJ7E7irK3n4zOt0zFnkSsa9h dsA8PzqO1zIIKO9/s+AGFaC65qLU5CP5BcAlgS8SgRnak5i3d7dK9kz7xas81UKFdwJ+7o vnC78VjMeKl8xq/fDJwtw2PV2PP+wvAFp+pxsaMEr7jtxFrbdorFW+SsUGmZzyyZIvVvIC yqxtm28spSdDIfuJgawR49qSFtCHREYNKGwmGCynOVTiSlarZx1UV/zpn/6gDRYH1a+dGD xI/6nh3XAHjFG+Aat7QybF2i28fCtAPaOtNxl7k5ClNegoYjCm0HhZ5MfJyj5Q== 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 51A611D71F; Sat, 15 Jan 2022 00:23:35 +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 20F0NZDH093109; Sat, 15 Jan 2022 00:23:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20F0NZmK093108; Sat, 15 Jan 2022 00:23:35 GMT (envelope-from git) Date: Sat, 15 Jan 2022 00:23:35 GMT Message-Id: <202201150023.20F0NZmK093108@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 301b2b02dfcf - main - snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 301b2b02dfcfddbb5da34dcc20136de1ab2f36af Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642206215; 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=JKMu/xVglCqIVsT3vfjixZ4EXNyGSBifFFM0lciiZ9g=; b=Fr17I0jSEwLv8LTeU18SzSYM2K3TnCnc0aE3MJeuaFBNQqifohPNTR84/Btqf1VCx/yM1g fByj0lDJwxquvUOOqhqLYoMKlyj/3j185SGWwR5n1penl3jYVQw/wcxky8lmnH4Wn8Ajqg Fwqhq5O+GgZbWlCzd5W/0r1pkuQx5yyPhZHlIHBExd//97skfSneYj4M4rFJTz9797PTdK RFFJDQBuGs0a6rU2K7EjjC9Vx0PEfaTCis/L1cHFcSiA802GNhJS7xm3u2qn6b/19D3Krs f2cE2jHhVrP/4oNnCqU+lPiZbY6TEuHWC0ysnSnVAQ5n4GPbPPdGU1pjtBvJUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642206215; a=rsa-sha256; cv=none; b=sfTi0X/JPuaN5y9Xl09gpD6i82aaFSr5LvjvudPenDt07G4Kz5NbHhdvUG0J/1eNCfCwoh h1E0R9GdHuilv+tdbMX+qIRSXAgbduR0KwM70x5+r1dXOwkm/IJLvspjREAoTRVajcwX4f t3iaoEo+syS6c78aTFSaa3dl8WnSCHe6EVHvzD/92BzasC/zOODG4NSor6yxGNskUmTfhq LOezg6tlDOtuNC07m1CsA+Amnlvn+YxNB8eb66b8pYd5PLneJgfn2mLBTp0jcKYtUWyOyc L9OEG1cUBat1JQnSTP3o+sfh97dwWCuzeiDtv1tSAJZpoSGmVM44GyUhWHoiWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=301b2b02dfcfddbb5da34dcc20136de1ab2f36af commit 301b2b02dfcfddbb5da34dcc20136de1ab2f36af Author: Ed Maste AuthorDate: 2022-01-14 19:40:47 +0000 Commit: Ed Maste CommitDate: 2022-01-15 00:23:15 +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 --- 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 dfa262e3610a..e59cd6b78b8f 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[]){