File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,15 +267,10 @@ static irqreturn_t fsl_dma_isr(int irq, void *dev_id)
267267/**
268268 * fsl_dma_new: initialize this PCM driver.
269269 *
270- * This function is called when the codec driver calls snd_soc_new_pcms(),
271- * once for each .dai_link in the machine driver's snd_soc_card
270+ * This function is called by soc_new_pcm() via the pcm_construct
271+ * callback, once for each DAI link in the machine driver's snd_soc_card
272272 * structure.
273273 *
274- * snd_dma_alloc_pages() is just a front-end to dma_alloc_coherent(), which
275- * (currently) always allocates the DMA buffer in lowmem, even if GFP_HIGHMEM
276- * is specified. Therefore, any DMA buffers we allocate will always be in low
277- * memory, but we support for 36-bit physical addresses anyway.
278- *
279274 * Regardless of where the memory is actually allocated, since the device can
280275 * technically DMA to any 36-bit address, we do need to set the DMA mask to 36.
281276 */
You can’t perform that action at this time.
0 commit comments