Skip to content

Commit 2423265

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

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

sound/soc/fsl/fsl_dma.c

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

sound/soc/renesas/siu_pcm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,6 @@ siu_pcm_pointer_dma(struct snd_soc_component *component,
483483
static 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;

0 commit comments

Comments
 (0)