summaryrefslogtreecommitdiff
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-12-11 10:55:16 +0300
committerJaroslav Kysela <perex@perex.cz>2008-01-31 19:29:31 +0300
commit25543fa785a32ce22e7374ba403eb6d38854d037 (patch)
treeae570683772455dd138df49f202cb2c4ce8940d0 /sound/pci/cmipci.c
parent69a07304d52cc1080fa650c4ba7a82eed3cd143c (diff)
downloadlinux-25543fa785a32ce22e7374ba403eb6d38854d037.tar.xz
[ALSA] cmipci: document 'Modem' control version check
Add a comment that explains why the 'Modem' control doesn't work with newer chips. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r--sound/pci/cmipci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 8cb3436d0d9c..bc0a1959f920 100644
--- a/sound/pci/cmipci.c
+++ b/sound/pci/cmipci.c
@@ -2733,6 +2733,10 @@ static int __devinit snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_devic
}
/* card switches */
+ /*
+ * newer chips don't have the register bits to force modem link
+ * detection; the bit that was FLINKON now mutes CH1
+ */
if (cm->chip_version < 39) {
err = snd_ctl_add(cm->card,
snd_ctl_new1(&snd_cmipci_modem_switch, cm));