Author: yongari
Date: Sun Dec  4 05:55:18 2016
New Revision: 309528
URL: https://svnweb.freebsd.org/changeset/base/309528

Log:
  Fix too low volume on MSI H170 GAMING M3 board by poking vendor
  specific COEF.

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   Sun Dec  4 05:46:30 2016        
(r309527)
+++ head/sys/dev/sound/pci/hda/hdaa_patches.c   Sun Dec  4 05:55:18 2016        
(r309528)
@@ -739,6 +739,12 @@ hdaa_patch_direct(struct hdaa_devinfo *d
                hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
                    0xf88, 0xc0));
                break;
+       case HDA_CODEC_ALC1150:
+               if (subid == 0xd9781462) {
+                       /* Too low volume on MSI H170 GAMING M3. */
+                       hdaa_write_coef(dev, 0x20, 0x07, 0x7cb);
+               }
+               break;
        }
        if (subid == APPLE_INTEL_MAC)
                hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to