From patchwork Thu Oct 5 16:02:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13410273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87BE0E9270D for ; Thu, 5 Oct 2023 16:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2zp38TgcBTTnhy9Pu8ruEVq4xXC+MujbkiJMfAxC3Eg=; b=APsNqIK5Ozy+Zq uF0OLHsDSe9r7t20WMtNsc3O84uROlPybEyNVEJLFEhLYQc+sA5mmtCdXT+FM9CjMZS+m64qCv/nq gpcXfHgyic6gLNAG63f85O1k7QYMvPzP1H7aO+HiDuTYIc5llKuznYu302QYl5iejXMIByiAuETUn ko2sP0YbXqZd2piyQC8WOaU3iaNjyUgcAiaIqQ1R93sZiplB/8y7g5nk1dhcY1RhoE8EIjYMLXBgt fF4pVakpJ3vlpC7zFXLtW9ekiQLe3f9JwR22pGrJb3DZYIXT7VCXXkFbmtq4LmtZHfnVnggADYgKf Tu1OHwE+oJFfbjAXhViA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoQoJ-003zAv-38; Thu, 05 Oct 2023 16:02:47 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoQoD-003z8s-1i for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 16:02:44 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id DAC271BF204; Thu, 5 Oct 2023 16:02:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696521759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GCLnsJGsiyoluV0LAjwd+krd3tUOX8QFfVoMfa2/x2E=; b=R+4NfyxjPPiY9r8zv+NkRP26PmJku2Kych4OR0oLfZ5CP2c9Rcd6M+lkIs+BmDXZJjI+6/ m/rqfEYUiod+KgQA6CQe5tkQRhAdCHIluW9L7gdfUgEK96IDKzAlYV/QNJrEMODGJDdP8Y AkfhmuP0nhxpr+INSWwgfWQLHCDVYinAWIQKgIQ+KeG6UuugAQHLfo8a7fE4+wEOHch2If nNVuwACqnXl3jRokYLu1MMtFMMpIbvUVGb9bRvHItInabxE6JsBjG8Qk1O1OUFSbCVIaPV HRI4K5QmXti6nB/T3Aj+0h8VG3NBmcjpTXrWjundS8wKAXcQ6yCW+PqWdWeAwA== From: Miquel Raynal To: Lizhi Hou , Brian Xu , Raj Kumar Rampelli , Vinod Koul , Michal Simek Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , linux-kernel@vger.kernel.org, Miquel Raynal Subject: [PATCH v3 1/3] ASoC: soc-generic-dmaengine-pcm: Fix function name in comment Date: Thu, 5 Oct 2023 18:02:35 +0200 Message-Id: <20231005160237.2804238-2-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231005160237.2804238-1-miquel.raynal@bootlin.com> References: <20231005160237.2804238-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: miquel.raynal@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_090241_868088_F539E613 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Vinod Koul --- 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)