From: Sameer Pujar <spujar@nvidia.com>
To: Rikard Falkeborn <rikard.falkeborn@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
<alsa-devel@alsa-project.org>, <linux-tegra@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: tegra: Constify static snd_soc_dai_ops structs
Date: Thu, 23 Sep 2021 09:50:40 +0530 [thread overview]
Message-ID: <73afcb2c-3ab3-8fe9-2d66-ee6ab9497089@nvidia.com> (raw)
In-Reply-To: <20210922205438.34519-1-rikard.falkeborn@gmail.com>
On 9/23/2021 2:24 AM, Rikard Falkeborn wrote:
> The only usage of these is to assign their address to the ops field in
> the snd_soc_dai_driver struct, which is a pointer to const. Make them
> const to allow the compiler to put them in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
> ---
> sound/soc/tegra/tegra210_adx.c | 4 ++--
> sound/soc/tegra/tegra210_amx.c | 4 ++--
> sound/soc/tegra/tegra210_mixer.c | 4 ++--
> sound/soc/tegra/tegra210_mvc.c | 2 +-
> sound/soc/tegra/tegra210_sfc.c | 4 ++--
> 5 files changed, 9 insertions(+), 9 deletions(-)
>
Thank you Rikard for the patch.
Acked-by: Sameer Pujar <spujar@nvidia.com>
next prev parent reply other threads:[~2021-09-23 4:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-22 20:54 Rikard Falkeborn
2021-09-23 4:20 ` Sameer Pujar [this message]
2021-09-27 17:45 ` Mark Brown
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=73afcb2c-3ab3-8fe9-2d66-ee6ab9497089@nvidia.com \
--to=spujar@nvidia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=perex@perex.cz \
--cc=rikard.falkeborn@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=tiwai@suse.com \
/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
all inboxes | Powered by JetHome®