Skip to contentSkip to conversation

patch for bug 1806

PATCH Doug McLain 2 participants 2 messages Feb 24, 2006 – Feb 28, 2006

lore
Share & tools
lore
#0 lore raw

Jaroslav,

I posted this patch to bug 1806 a while back, and have been awaiting a reply or commit. It currently reports the Locked/No Signal text backwards in envy24control, since i was using an older version of envy24control when I wrote the original code. The Locked/No Signal test was recently reversed in envy24control cvs, so the test in my code needs to be reversed as well. Here is the patch, once again.

Doug
--
http://nostar.net/

? 1010lt_wordclock_status_correction.diff
Index: pci/ice1712/delta.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/delta.c,v retrieving revision 1.25

ice1712/delta.c +1 -1
diff -u -r1.25 delta.c
@@ -412,7 +412,7 @@
 	if (snd_i2c_sendbytes(ice->cs8427, &reg, 1) != 1)
 		snd_printk(KERN_ERR "unable to send register 0x%x byte to CS8427\n", reg);
 	snd_i2c_readbytes(ice->cs8427, &reg, 1);
-	ucontrol->value.integer.value[0] = (reg ? 0 : 1);
+	ucontrol->value.integer.value[0] = (reg ? 1 : 0);
 	return 0;
 }
 
#1 lore raw

At Fri, 24 Feb 2006 18:49:40 -0500,

Quoted 7 lines · Doug McLain

I posted this patch to bug 1806 a while back, and have been awaiting a reply or commit. It currently reports the Locked/No Signal text backwards in envy24control, since i was using an older version of envy24control when I wrote the original code. The Locked/No Signal test was recently reversed in envy24control cvs, so the test in my code needs to be reversed as well. Here is the patch, once again.

Thanks for the patch. I applied it to CVS now.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642