aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-12-11 02:55:16 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:31 -0500
commit25543fa785a32ce22e7374ba403eb6d38854d037 (patch)
treeae570683772455dd138df49f202cb2c4ce8940d0 /sound
parent69a07304d52cc1080fa650c4ba7a82eed3cd143c (diff)
[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')
-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
2733 } 2733 }
2734 2734
2735 /* card switches */ 2735 /* card switches */
2736 /*
2737 * newer chips don't have the register bits to force modem link
2738 * detection; the bit that was FLINKON now mutes CH1
2739 */
2736 if (cm->chip_version < 39) { 2740 if (cm->chip_version < 39) {
2737 err = snd_ctl_add(cm->card, 2741 err = snd_ctl_add(cm->card,
2738 snd_ctl_new1(&snd_cmipci_modem_switch, cm)); 2742 snd_ctl_new1(&snd_cmipci_modem_switch, cm));