From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Sylwester Nawrocki <s.nawrocki@samsung.com>, alsa-devel@alsa-project.org
Cc: tiwai@suse.de, broonie@kernel.org,
Krzysztof Kozlowski <krzk@kernel.org>,
Sangbeom Kim <sbkim73@samsung.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/8] ASoC: samsung: pcm: fix kernel-doc
Date: Mon, 6 Jul 2020 10:03:14 -0500 [thread overview]
Message-ID: <7b485413-98f1-fb13-2e82-4eeacbfff6dc@linux.intel.com> (raw)
In-Reply-To: <d6980967-5def-58c9-39a9-239a5c671f3f@samsung.com>
On 7/3/20 1:47 PM, Sylwester Nawrocki wrote:
> On 02.07.2020 18:58, Pierre-Louis Bossart wrote:
>> Fix W=1 warnings - missing fields in structure
>>
>> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
>> ---
>> sound/soc/samsung/pcm.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
>> index a5b1a12b3496..86eefbc89e9e 100644
>> --- a/sound/soc/samsung/pcm.c
>> +++ b/sound/soc/samsung/pcm.c
>> @@ -104,8 +104,13 @@
>
> Thank you for the patch, I have some suggestions to improve the comments.
>
>> /**
>> * struct s3c_pcm_info - S3C PCM Controller information
>> + * @lock: Spin lock
>
> @lock: Spin lock to serialize access to the device registers and @idle_clk
>
>> * @dev: The parent device passed to use from the probe.
>> * @regs: The pointer to the device register block.
>> + * @sclk_per_fs: number of sclk per frame sync
>> + * @idleclk: Whether to keep PCMSCLK enabled even when idle(no active xfer)
>
> How about adding space before the opening parenthesis?
>
>> + * @pclk: the pclk pointer
>
> @pclk: the PCLK_PCM (pcm) clock pointer
>
>> + * @cclk: the clck pointer
>
> @cclk: the SCLK_AUDIO (audio-bus) clock pointer
>
>> * @dma_playback: DMA information for playback channel.
>> * @dma_capture: DMA information for capture channel.
>> */
>
> With above changes feel free to add:
> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
I wasn't really happy with the lame comments I added for pclk and cclk,
thanks for suggesting a better wording. Will fix in a v2.
next prev parent reply other threads:[~2020-07-06 15:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200702165901.164100-1-pierre-louis.bossart@linux.intel.com>
2020-07-02 16:58 ` [PATCH 1/8] ASoC: atmel: fix kernel-doc Pierre-Louis Bossart
2020-07-02 18:27 ` Alexandre Belloni
2020-07-02 16:58 ` [PATCH 2/8] ASoC: samsung: spdif: " Pierre-Louis Bossart
2020-07-03 18:07 ` Sylwester Nawrocki
2020-07-02 16:58 ` [PATCH 3/8] ASoC: samsung: pcm: " Pierre-Louis Bossart
2020-07-03 18:47 ` Sylwester Nawrocki
2020-07-06 15:03 ` Pierre-Louis Bossart [this message]
2020-07-02 16:58 ` [PATCH 4/8] ASoC: qcom: q6asm: " Pierre-Louis Bossart
2020-07-02 16:58 ` [PATCH 5/8] ASoC: sunxi: sun4i-i2s: " Pierre-Louis Bossart
2020-07-02 16:58 ` [PATCH 6/8] ASoC: sunxi: sun4i-spdif: " Pierre-Louis Bossart
2020-07-02 16:59 ` [PATCH 7/8] ASoC: tegra: tegra20_das: remove always-true comparison Pierre-Louis Bossart
2020-07-06 15:16 ` Jon Hunter
2020-07-02 16:59 ` [PATCH 8/8] ASoC: uniphier: aio-core: fix kernel-doc Pierre-Louis Bossart
2020-07-07 10:58 ` Masahiro Yamada
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=7b485413-98f1-fb13-2e82-4eeacbfff6dc@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=s.nawrocki@samsung.com \
--cc=sbkim73@samsung.com \
--cc=tiwai@suse.com \
--cc=tiwai@suse.de \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox