LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File staudio-ADCIII.patch of Package alsa-driver-staudio-ADCIII-kmp (Project home:sbahling:staudio-ADCIII)

diff -Nrup a/alsa-kernel/pci/ice1712/hoontech.c b/alsa-kernel/pci/ice1712/hoontech.c
--- a/alsa-kernel/pci/ice1712/hoontech.c	2012-04-22 00:05:03.000000000 +0200
+++ b/alsa-kernel/pci/ice1712/hoontech.c	2012-04-22 16:20:15.625712710 +0200
@@ -207,7 +207,10 @@ static int __devinit snd_ice1712_hoontec
 	spec->config = 0;
 			    /* ICE1712_STDSP24_MUTE |
 			       ICE1712_STDSP24_INSEL |
-			       ICE1712_STDSP24_DAREAR; */
+        /* need to set MUTE flag to un-mute ADCIII */ 
+	 spec->config = 0;
+	         /*     ICE1712_STDSP24_INSEL |
+	                ICE1712_STDSP24_DAREAR; */
 	/*  These boxconfigs have caused problems in the past.
 	 *  The code is not optimal, but should now enable a working config to
 	 *  be achieved.
@@ -221,15 +224,15 @@ static int __devinit snd_ice1712_hoontec
 	 *  The default config here sets up everything on the first box.
 	 *  Alan Horstmann  5.2.2008
 	 */
+	spec->boxconfig[1] = 
+	spec->boxconfig[2] = 
+	spec->boxconfig[3] = 
 	spec->boxconfig[0] = ICE1712_STDSP24_BOX_CHN1 |
 				     ICE1712_STDSP24_BOX_CHN2 |
 				     ICE1712_STDSP24_BOX_CHN3 |
 				     ICE1712_STDSP24_BOX_CHN4 |
 				     ICE1712_STDSP24_BOX_MIDI1 |
 				     ICE1712_STDSP24_BOX_MIDI2;
-	spec->boxconfig[1] = 
-	spec->boxconfig[2] = 
-	spec->boxconfig[3] = 0;
 	snd_ice1712_stdsp24_darear(ice,
 		(spec->config & ICE1712_STDSP24_DAREAR) ? 1 : 0);
 	snd_ice1712_stdsp24_mute(ice,