From patchwork Sat Oct 7 04:01:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 13412173 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 B8DDDE9413F for ; Sat, 7 Oct 2023 04:06:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2571210E; Sat, 7 Oct 2023 06:05:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2571210E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696651578; bh=na8ySLqEKzc9oa7oPW2GxxrO96pn/l00Ee9tK6OWbyI=; h=From:To:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=W48Le2UwSFXhfvDwfOK5/8xs6jlubCpDeSSEweUJFxPCnDPbtw0hSx+jvTvyRJQzS b93ixLSAijO5U/1TeuHCDgviasYS+Fe9QVvdF7JkGIWhF41wOEG5c5CIWDvgu0fPR8 lEg1OHN5B30Tk6SKyru6hdT07rsLyVNh3/trXNP4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id F0323F80558; Sat, 7 Oct 2023 06:05:17 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 36F8CF8047D; Sat, 7 Oct 2023 06:05:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5DFFAF8047D; Sat, 7 Oct 2023 06:03:06 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E68C9F800C1 for ; Sat, 7 Oct 2023 06:02:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E68C9F800C1 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=ex5t5QSg Received: from hwang4-ThinkPad-T14s-Gen-2a.conference (1.general.hwang4.uk.vpn [10.172.195.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 6BAF63F6BD; Sat, 7 Oct 2023 04:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1696651375; bh=k4dsUA/Dhp76Qf8xTwmzgDUgQX3GyTjRoiBnCS5z5xs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=ex5t5QSgXSDkFr4pokoFM0Pchj8yG8IUlJd59KWGUKJKdo4MXG1hVv13FZyoglaUY kHG1PlzBAdF0xv/ez9RrHypS7nStId6VvIamuWGH2h8TvvVogbqcBizHZxH8H1Lx1o glRq6o2sP2WzsmdDgTGGiv/xUt82oslW5v/VfWOlhBDBiMOYRtzeX86a3WgqQL55su xrm0CtgBsAbtpg0kQ9ZWMU6ynRR/CRqlCsXtPlVlsU460q8PORmFJ/x0TcNR9Hlg2J dATMjUE21IPsqS97lQAZJ4bM95naxJ419kbJ/+Gi0b5ZfJOIW5rQopMoiNWaD21rlr F7fr2mIN1WbYg== From: Hui Wang To: alsa-devel@alsa-project.org, broonie@kernel.org Subject: [PATCH] ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv Date: Sat, 7 Oct 2023 12:01:17 +0800 Message-Id: <20231007040117.22446-1-hui.wang@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: AZHUISVMZ7LY4CMFQPK5E2SIFIVJG2QR X-Message-ID-Hash: AZHUISVMZ7LY4CMFQPK5E2SIFIVJG2QR X-MailFrom: hui.wang@canonical.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Otherwise a warning will be detected as below: warning: Function parameter or member 'mclk' not described in 'codec_priv' Fixes: 1075df4bdeb3 ("ASoC: fsl-asoc-card: add nau8822 support") Signed-off-by: Hui Wang --- sound/soc/fsl/fsl-asoc-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index 0957ff7c55c2..7518ab9d768e 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -41,6 +41,7 @@ /** * struct codec_priv - CODEC private data + * @mclk: Main clock of the CODEC * @mclk_freq: Clock rate of MCLK * @free_freq: Clock rate of MCLK for hw_free() * @mclk_id: MCLK (or main clock) id for set_sysclk()