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 <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20230922161547.594484-1-miquel.raynal@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 95bfb16 commit e52dca7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)