[ALSA] cmipci: document 'Modem' control version check
authorClemens Ladisch <clemens@ladisch.de>
Tue, 11 Dec 2007 07:55:16 +0000 (08:55 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:31 +0000 (17:29 +0100)
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>
sound/pci/cmipci.c

index 8cb3436d0d9c796c754df0bdbf200b3dc585f019..bc0a1959f92017470c40f50a080e4eecf094f24a 100644 (file)
@@ -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));