From nobody Thu May 23 00:24:26 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 4Vl87H03D7z5LLHY; Thu, 23 May 2024 00:24:27 +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 4Vl87G6BHXz4fmC; Thu, 23 May 2024 00:24:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716423866; 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=wlA8156E7XW3A98b3pUQ3Ywtip+nNE0jAPi+1W9U+ys=; b=Ha4uQBc8dZZa0J9Kk52gOMXdEJCaySOJ0WpV+Gxp0XISC00B3B3dvzpGpN9Fuo2hz6cWvq 15Ge+WpLN4+aX6bP81FkAsr3LGJhA1h3GBFG+a3N6XNelB9ulHUBvXxN/aYRoxPmPgdg61 Ey0iDUALFAmu8PqG28rxHOV/WZIstfmduGyFrsBxifu/H1DU4RuAINWU/SD0zIqDlcpU8s 6HkA5A7+zuNUAWlAhv6RXv6wb2GYpxc3Rwz9e5e2azIST6Kt085t6G/vRyB2nNz/FRlCwQ Ljr8Q1xSCJ7SBvj1hz3xW53hPgiVArWM9GjTQ42tTb1ng+61OqDxaIh8syaK+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716423866; a=rsa-sha256; cv=none; b=QkQYALveBe9qHKcBj7AtuG1Y1Ic/TMXDwlviAaXKKvIWGvWo3CsuRefnIxbloNxxFQo54d HsYOxoWOniB2Wynm7PPvCKouoxd0ehZYJiM8/DXWTyGvkShhfRpClYvJlFDYTcRt7p2W7m gScTwNAb6oRP+IASsqmb63omrX2C85aRAlQY4UXatUFSnS/JxAqpLz3Ym7mozPl4FTiTw0 W8flJ8a7x9aKmFSuIU4BGJexmGGtuGOMRc849NuI1EEzIwU9FhOkcWc0dLG1yKylkerxv0 pl72iJeoSG3FAJv0aD1pb1CAXo7X8DYF9rmKDzpc8gEwaQgrZnHaikIV8xQ3kA== 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=1716423866; 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=wlA8156E7XW3A98b3pUQ3Ywtip+nNE0jAPi+1W9U+ys=; b=UtwSOFoouDygKe4y4YApDMRcqgl3OHAZz1QrkTTSRbMMJWrqGk1h1EW92/XheP62sCMig8 GF/vz40sFVnN+gMVrvVTiKi/MB8axmQ2Cgb4nr2lEwELLt57Us+piuhqUPeawgz5APrG4/ 1mELdD0qCmrDymIHPwdIm0ITq4E9qJKwMBCYrTuAhux+eYkV+y6tCEj7mTlphB5fSPMXMw vQItyYrPxvem0GuzbRP8RcOcM6Qjn0ZP9M5INRk9oOnWMwYYSPYD2MyQsDo/MINuWAADUN hkpSSg6aD6DawsY8HJnEaAORQ61DnxXvn+1ImcVZ+JCmT+fmdkFPFAD7qooYbw== 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 4Vl87G5n8kzRC9; Thu, 23 May 2024 00:24:26 +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 44N0OQhF020038; Thu, 23 May 2024 00:24:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44N0OQng020035; Thu, 23 May 2024 00:24:26 GMT (envelope-from git) Date: Thu, 23 May 2024 00:24:26 GMT Message-Id: <202405230024.44N0OQng020035@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: 1fb0a65ab2dd - stable/14 - snd_hda: Add patch for Asus UX331UAL 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: 1fb0a65ab2dd7f6fb5dfcac2d78b6dcb6e3c6c9e Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=1fb0a65ab2dd7f6fb5dfcac2d78b6dcb6e3c6c9e commit 1fb0a65ab2dd7f6fb5dfcac2d78b6dcb6e3c6c9e Author: Lutz Bichler AuthorDate: 2024-05-22 22:19:50 +0000 Commit: Christos Margiolis CommitDate: 2024-05-23 00:24:15 +0000 snd_hda: Add patch for Asus UX331UAL PR: 242802 MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D45238 (cherry picked from commit 93ad59a251897431627345c287390ae134925a95) --- sys/dev/sound/pci/hda/hdaa_patches.c | 11 +++++++++++ sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 12 insertions(+) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 9f3532562252..d425e3c0080b 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -359,6 +359,17 @@ hdac_pin_patch(struct hdaa_widget *w) patch_str = "as=4 seq=15"; break; } + } else if (id == HDA_CODEC_ALC294 && + subid == ASUS_UX331_SUBVENDOR) { + switch (nid) { + case 25: + /* XXX You are not expected to understand this. */ + config = 0x01a1103c; + break; + case 33: + patch_str = "as=1 seq=15"; + break; + } } else { /* * loop over hdaa_model_pin_patch diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 6a3314280a22..6b6bc58a4818 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -332,6 +332,7 @@ #define ASUS_G2K_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1339) #define ASUS_Z550SA_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x13b0) #define ASUS_A7T_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x13c2) +#define ASUS_UX331_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x14de) #define ASUS_UX31A_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1517) #define ASUS_GL553VE_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x15e0) #define ASUS_Z71V_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1964)