[Midnightbsd-cvs] src [8226] trunk/sys/dev/sound/pci/hda/hdaa_patches.c: Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S to

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 17 16:30:18 EDT 2016


Revision: 8226
          http://svnweb.midnightbsd.org/src/?rev=8226
Author:   laffer1
Date:     2016-09-17 16:30:17 -0400 (Sat, 17 Sep 2016)
Log Message:
-----------
Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S to
make analog input loopback and dual-stream playback work by enabling
signal mixing by nid 22, as it should be according to info returned by
the CODEC.  Otherwise pin nid 28 receives only signal from DAC nid 16.

Modified Paths:
--------------
    trunk/sys/dev/sound/pci/hda/hdaa_patches.c

Modified: trunk/sys/dev/sound/pci/hda/hdaa_patches.c
===================================================================
--- trunk/sys/dev/sound/pci/hda/hdaa_patches.c	2016-09-17 20:28:38 UTC (rev 8225)
+++ trunk/sys/dev/sound/pci/hda/hdaa_patches.c	2016-09-17 20:30:17 UTC (rev 8226)
@@ -608,6 +608,8 @@
 		/* Enable Mic Boost Volume controls. */
 		hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
 		    0xf98, 0x01));
+		/* Fall though */
+	case HDA_CODEC_VT1818S:
 		/* Don't bypass mixer. */
 		hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
 		    0xf88, 0xc0));



More information about the Midnightbsd-cvs mailing list