Skip to content

Commit c02ed10

Browse files
author
Fox Snowpatch
committed
1 parent 4f37907 commit c02ed10

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

sound/soc/fsl/fsl_dma.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)