From: Miquel Raynal <miquel.raynal@bootlin.com> To: Lizhi Hou <lizhi.hou@amd.com>, Brian Xu <brian.xu@amd.com>, Raj Kumar Rampelli <raj.kumar.rampelli@amd.com>, Vinod Koul <vkoul@kernel.org>, Michal Simek <monstr@monstr.eu> Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-kernel@vger.kernel.org, Miquel Raynal <miquel.raynal@bootlin.com> Subject: [PATCH v3 1/3] ASoC: soc-generic-dmaengine-pcm: Fix function name in comment Date: Thu, 5 Oct 2023 18:02:35 +0200 [thread overview] Message-ID: <20231005160237.2804238-2-miquel.raynal@bootlin.com> (raw) In-Reply-To: <20231005160237.2804238-1-miquel.raynal@bootlin.com> 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> --- sound/soc/soc-generic-dmaengine-pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index d0653d775c87..cad222eb9a29 100644 --- a/sound/soc/soc-generic-dmaengine-pcm.c +++ b/sound/soc/soc-generic-dmaengine-pcm.c @@ -44,8 +44,8 @@ static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm, * platforms which make use of the snd_dmaengine_dai_dma_data struct for their * DAI DMA data. Internally the function will first call * snd_hwparams_to_dma_slave_config to fill in the slave config based on the - * hw_params, followed by snd_dmaengine_set_config_from_dai_data to fill in the - * remaining fields based on the DAI DMA data. + * hw_params, followed by snd_dmaengine_pcm_set_config_from_dai_data to fill in + * the remaining fields based on the DAI DMA data. */ int snd_dmaengine_pcm_prepare_slave_config(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct dma_slave_config *slave_config) -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com> To: Lizhi Hou <lizhi.hou@amd.com>, Brian Xu <brian.xu@amd.com>, Raj Kumar Rampelli <raj.kumar.rampelli@amd.com>, Vinod Koul <vkoul@kernel.org>, Michal Simek <monstr@monstr.eu> Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-kernel@vger.kernel.org, Miquel Raynal <miquel.raynal@bootlin.com> Subject: [PATCH v3 1/3] ASoC: soc-generic-dmaengine-pcm: Fix function name in comment Date: Thu, 5 Oct 2023 18:02:35 +0200 [thread overview] Message-ID: <20231005160237.2804238-2-miquel.raynal@bootlin.com> (raw) In-Reply-To: <20231005160237.2804238-1-miquel.raynal@bootlin.com> 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> --- sound/soc/soc-generic-dmaengine-pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index d0653d775c87..cad222eb9a29 100644 --- a/sound/soc/soc-generic-dmaengine-pcm.c +++ b/sound/soc/soc-generic-dmaengine-pcm.c @@ -44,8 +44,8 @@ static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm, * platforms which make use of the snd_dmaengine_dai_dma_data struct for their * DAI DMA data. Internally the function will first call * snd_hwparams_to_dma_slave_config to fill in the slave config based on the - * hw_params, followed by snd_dmaengine_set_config_from_dai_data to fill in the - * remaining fields based on the DAI DMA data. + * hw_params, followed by snd_dmaengine_pcm_set_config_from_dai_data to fill in + * the remaining fields based on the DAI DMA data. */ int snd_dmaengine_pcm_prepare_slave_config(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct dma_slave_config *slave_config) -- 2.34.1
next prev parent reply other threads:[~2023-10-05 16:03 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-05 16:02 [PATCH v3 0/3] dmaengine: xdma: Cyclic transfers support Miquel Raynal 2023-10-05 16:02 ` Miquel Raynal 2023-10-05 16:02 ` Miquel Raynal [this message] 2023-10-05 16:02 ` [PATCH v3 1/3] ASoC: soc-generic-dmaengine-pcm: Fix function name in comment Miquel Raynal 2023-10-09 5:28 ` Vinod Koul 2023-10-09 5:28 ` Vinod Koul 2023-10-05 16:02 ` [PATCH v3 2/3] dmaengine: xilinx: xdma: Prepare the introduction of cyclic transfers Miquel Raynal 2023-10-05 16:02 ` Miquel Raynal 2023-10-05 16:02 ` [PATCH v3 3/3] dmaengine: xilinx: xdma: Support " Miquel Raynal 2023-10-05 16:02 ` Miquel Raynal 2023-10-09 6:12 ` (subset) [PATCH v3 0/3] dmaengine: xdma: Cyclic transfers support Vinod Koul 2023-10-09 6:12 ` Vinod Koul
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231005160237.2804238-2-miquel.raynal@bootlin.com \ --to=miquel.raynal@bootlin.com \ --cc=brian.xu@amd.com \ --cc=dmaengine@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lizhi.hou@amd.com \ --cc=monstr@monstr.eu \ --cc=raj.kumar.rampelli@amd.com \ --cc=thomas.petazzoni@bootlin.com \ --cc=vkoul@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.