diff options
author | mav <mav@FreeBSD.org> | 2012-10-09 17:06:31 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-10-09 17:06:31 +0000 |
commit | d5a8a69ff36ea2632f2a367ff6aa9f0c4dbca708 (patch) | |
tree | b52d092b2246effd654b64d12f61d53d86e754b0 /sys/dev | |
parent | 6997194551ffae05d71ea650af49c4551d753a1a (diff) | |
download | FreeBSD-src-d5a8a69ff36ea2632f2a367ff6aa9f0c4dbca708.zip FreeBSD-src-d5a8a69ff36ea2632f2a367ff6aa9f0c4dbca708.tar.gz |
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
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pci/hda/hdaa_patches.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 8633039..33aa44d 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -608,6 +608,8 @@ hdaa_patch_direct(struct hdaa_devinfo *devinfo) /* 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)); |