소스 검색

[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>
Clemens Ladisch 17 년 전
부모
커밋
25543fa785
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      sound/pci/cmipci.c

+ 4 - 0
sound/pci/cmipci.c

@@ -2733,6 +2733,10 @@ static int __devinit snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_devic
 	}
 	}
 
 
 	/* card switches */
 	/* 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) {
 	if (cm->chip_version < 39) {
 		err = snd_ctl_add(cm->card,
 		err = snd_ctl_add(cm->card,
 				  snd_ctl_new1(&snd_cmipci_modem_switch, cm));
 				  snd_ctl_new1(&snd_cmipci_modem_switch, cm));