aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2006-02-28 05:53:06 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:33:28 -0500
commit381e3cda682abcef2acd7828e9639f4ceb95880f (patch)
tree52dd58d25d62a5df2d4a09c74fe9eecd634a4a01
parent92621f130e60da865de2f5aa6d3dec2ee844b803 (diff)
[ALSA] ice1712 - Fix wordclock status on Delta1010LT
Modules: ICE1712 driver 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. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/ice1712/delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/delta.c b/sound/pci/ice1712/delta.c
index 74c4d03720bb..465eeb50eb98 100644
--- a/sound/pci/ice1712/delta.c
+++ b/sound/pci/ice1712/delta.c
@@ -412,7 +412,7 @@ int snd_ice1712_delta1010lt_wordclock_status_get(struct snd_kcontrol *kcontrol,
412 if (snd_i2c_sendbytes(ice->cs8427, &reg, 1) != 1) 412 if (snd_i2c_sendbytes(ice->cs8427, &reg, 1) != 1)
413 snd_printk(KERN_ERR "unable to send register 0x%x byte to CS8427\n", reg); 413 snd_printk(KERN_ERR "unable to send register 0x%x byte to CS8427\n", reg);
414 snd_i2c_readbytes(ice->cs8427, &reg, 1); 414 snd_i2c_readbytes(ice->cs8427, &reg, 1);
415 ucontrol->value.integer.value[0] = (reg ? 0 : 1); 415 ucontrol->value.integer.value[0] = (reg ? 1 : 0);
416 return 0; 416 return 0;
417} 417}
418 418