svn commit: r241375 - head/sys/dev/sound/pci/hda
Alexander Motin
mav at FreeBSD.org
Tue Oct 9 17:06:33 UTC 2012
Author: mav
Date: Tue Oct 9 17:06:31 2012
New Revision: 241375
URL: http://svn.freebsd.org/changeset/base/241375
Log:
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.
PR: kern/169124
MFC after: 1 week
Modified:
head/sys/dev/sound/pci/hda/hdaa_patches.c
Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdaa_patches.c Tue Oct 9 14:32:30 2012 (r241374)
+++ head/sys/dev/sound/pci/hda/hdaa_patches.c Tue Oct 9 17:06:31 2012 (r241375)
@@ -608,6 +608,8 @@ hdaa_patch_direct(struct hdaa_devinfo *d
/* 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 svn-src-all
mailing list