瀏覽代碼

[ALSA] ice1724 - Add comments for naming of PCM streams

Added some comments regarding naming of PCM streams on vt172x chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Takashi Iwai 18 年之前
父節點
當前提交
f06934bd3c
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      sound/pci/ice1712/ice1724.c

+ 8 - 0
sound/pci/ice1712/ice1724.c

@@ -2345,6 +2345,14 @@ static int __devinit snd_vt1724_probe(struct pci_dev *pci,
 	}
 	}
 	c = &no_matched;
 	c = &no_matched;
  __found:
  __found:
+       /*
+        * VT1724 has separate DMAs for the analog and the SPDIF streams while
+        * ICE1712 has only one for both (mixed up).
+        *
+        * Confusingly the analog PCM is named "professional" here because it
+        * was called so in ice1712 driver, and vt1724 driver is derived from
+        * ice1712 driver.
+        */
 
 
 	if ((err = snd_vt1724_pcm_profi(ice, pcm_dev++)) < 0) {
 	if ((err = snd_vt1724_pcm_profi(ice, pcm_dev++)) < 0) {
 		snd_card_free(card);
 		snd_card_free(card);