Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 07:27:08 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352891 - stable/12/sys/dev/sound/pci/hda
Message-ID:  <201909300727.x8U7R8ZI008782@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Sep 30 07:27:07 2019
New Revision: 352891
URL: https://svnweb.freebsd.org/changeset/base/352891

Log:
  MFC r351325:
  
  r351325: Fix sound on headset jack for ThinkPad T51.

Modified:
  stable/12/sys/dev/sound/pci/hda/hdaa_patches.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- stable/12/sys/dev/sound/pci/hda/hdaa_patches.c	Mon Sep 30 06:38:34 2019	(r352890)
+++ stable/12/sys/dev/sound/pci/hda/hdaa_patches.c	Mon Sep 30 07:27:07 2019	(r352891)
@@ -429,6 +429,15 @@ hdac_pin_patch(struct hdaa_widget *w)
 			patch = "as=1 seq=15";
 			break;
 		}
+	} else if (id == HDA_CODEC_ALC298 && HDA_DEV_MATCH(LENOVO_ALL_SUBVENDOR, subid)) {
+		switch (nid) {
+		case 23:
+			config = 0x03a1103f;
+			break;
+		case 33:
+			config = 0x2121101f;
+			break;
+		}
 	} else if (id == HDA_CODEC_ALC298 && subid == DELL_XPS9560_SUBVENDOR) {
 		switch (nid) {
 		case 24:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909300727.x8U7R8ZI008782>