[ALSA] ice1724 - Add comments for naming of PCM streams
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Apr 2007 09:15:34 +0000 (11:15 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:57 +0000 (16:55 +0200)
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>
sound/pci/ice1712/ice1724.c

index 0666cbc..6a29bcf 100644 (file)
@@ -2345,6 +2345,14 @@ static int __devinit snd_vt1724_probe(struct pci_dev *pci,
        }
        c = &no_matched;
  __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) {
                snd_card_free(card);