[alsa-devel] [PATCH] cm6206: turn off de-emphasis in s/pdif

Eric Lammerts alsa-devel at lists.lammerts.org
Wed Nov 17 01:22:37 CET 2010


Hi,
I just bought a device with a CM6206. Thank you for the quirk that 
made it work out-of-the-box! I noticed on my DAC that the de-emphasis 
LED was on. Is this by accident? Below is a patch (based on the info 
in the CM6206+datasheet+1.7.pdf that I found somewhere) that turns it 
off.

cheers,

Eric


Index: linux-2.6.36/sound/usb/quirks.c
===================================================================
--- linux-2.6.36.orig/sound/usb/quirks.c	2010-11-16 18:55:51.000000000 -0500
+++ linux-2.6.36/sound/usb/quirks.c	2010-11-16 18:55:57.000000000 -0500
@@ -387,7 +387,7 @@
  static int snd_usb_cm6206_boot_quirk(struct usb_device *dev)
  {
  	int err, reg;
-	int val[] = {0x200c, 0x3000, 0xf800, 0x143f, 0x0000, 0x3000};
+	int val[] = {0x2004, 0x3000, 0xf800, 0x143f, 0x0000, 0x3000};

  	for (reg = 0; reg < ARRAY_SIZE(val); reg++) {
  		err = snd_usb_cm106_write_int_reg(dev, reg, val[reg]);


More information about the Alsa-devel mailing list