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,14 +267,8 @@ 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
272- * structure.
273- *
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.
270+ * This function is called by soc_new_pcm(), once for each DAI link
271+ * in the machine driver's snd_soc_card structure.
278272 *
279273 * Regardless of where the memory is actually allocated, since the device can
280274 * technically DMA to any 36-bit address, we do need to set the DMA mask to 36.
Original file line number Diff line number Diff line change @@ -483,7 +483,6 @@ siu_pcm_pointer_dma(struct snd_soc_component *component,
483483static int siu_pcm_new (struct snd_soc_component * component ,
484484 struct snd_soc_pcm_runtime * rtd )
485485{
486- /* card->dev == socdev->dev, see snd_soc_new_pcms() */
487486 struct snd_card * card = rtd -> card -> snd_card ;
488487 struct snd_pcm * pcm = rtd -> pcm ;
489488 struct siu_info * info = siu_i2s_data ;
You can’t perform that action at this time.
0 commit comments