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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]);
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux