Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 17:06:32 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241375 - head/sys/dev/sound/pci/hda
Message-ID:  <201210091706.q99H6XEG041469@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



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