Skip to content

Commit e52dca7

Browse files
miquelraynalbroonie
authored andcommitted
ASoC: soc-generic-dmaengine-pcm: Fix function name in comment
While browsing/grepping in the sound core, I found that snd_dmaengine_set_config_from_dai_data() did not exist, in favor of snd_dmaengine_pcm_set_config_from_dai_data(). Fix the typo. Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 95bfb16 commit e52dca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/soc-generic-dmaengine-pcm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm,
4444
* platforms which make use of the snd_dmaengine_dai_dma_data struct for their
4545
* DAI DMA data. Internally the function will first call
4646
* snd_hwparams_to_dma_slave_config to fill in the slave config based on the
47-
* hw_params, followed by snd_dmaengine_set_config_from_dai_data to fill in the
48-
* remaining fields based on the DAI DMA data.
47+
* hw_params, followed by snd_dmaengine_pcm_set_config_from_dai_data to fill in
48+
* the remaining fields based on the DAI DMA data.
4949
*/
5050
int snd_dmaengine_pcm_prepare_slave_config(struct snd_pcm_substream *substream,
5151
struct snd_pcm_hw_params *params, struct dma_slave_config *slave_config)

0 commit comments

Comments
 (0)