[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEnQRZBGQX7C2=fUr-6et6Wh=fOgX3nB=eFYG959XiuDMqbaKg@mail.gmail.com>
Date: Fri, 16 Nov 2018 09:18:34 +0200
From: Daniel Baluta <daniel.baluta@...il.com>
To: srinivas.kandagatla@...aro.org
Cc: Mark Brown <broonie@...nel.org>, vkoul@...nel.org,
Devicetree List <devicetree@...r.kernel.org>,
Linux-ALSA <alsa-devel@...a-project.org>,
bgoswami@...eaurora.org, Takashi Iwai <tiwai@...e.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>, rohitkr@...eaurora.org,
srini@...nel.org
Subject: Re: [alsa-devel] [PATCH v3 1/5] ALSA: soc-compress: add support to snd_compr_set_runtime_buffer()
Hi Srinivas,
One minor comment:
<snip>
> struct snd_compr_ops *ops;
> + struct snd_dma_buffer *dma_buffer_p;
I don't think it is necessary to encode the type inside the name variable
So, dma_buffer would sounds better to me then dma_buffer_p;
> void *buffer;
It is also consistent with this ^
<snip>
> +static inline void snd_compr_set_runtime_buffer(
> + struct snd_compr_stream *substream,
> + struct snd_dma_buffer *bufp)
Also buf instead of bufp here.
thanks,
Daniel.
Powered by blists - more mailing lists